Module

x/vega_lite/examples/specs/rect_heatmap_weather.vl.json

A concise grammar of interactive graphics, built on Vega.
Latest
File
{ "$schema": "https://vega.github.io/schema/vega-lite/v4.json", "data": { "url": "data/seattle-weather.csv" }, "title": "Daily Max Temperatures (C) in Seattle, WA", "config": { "view": { "strokeWidth": 0, "step": 13 }, "axis": { "domain": false } }, "mark": "rect", "encoding": { "x": { "field": "date", "timeUnit": "date", "type": "ordinal", "title": "Day", "axis": { "labelAngle": 0, "format": "%e" } }, "y": { "field": "date", "timeUnit": "month", "type": "ordinal", "title": "Month" }, "color": { "field": "temp_max", "aggregate": "max", "type": "quantitative", "legend": { "title": null } } }}