Module

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

A concise grammar of interactive graphics, built on Vega.
Latest
File
{ "$schema": "https://vega.github.io/schema/vega-lite/v4.json", "title": "Seattle Temperature Range, 2012-2015", "data": { "url": "data/seattle-weather.csv" }, "width": 600, "height": 300, "mark": "area", "encoding": { "x": { "axis": {"format": "%b"}, "title": "Date", "field": "date", "timeUnit": "monthdate" }, "y": { "title": "Daily Temperature Range (C)", "aggregate": "max", "field": "temp_max" }, "y2": {"aggregate": "min", "field": "temp_min"}, "opacity": { "value": 0.7 } }}