Module

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

A concise grammar of interactive graphics, built on Vega.
Latest
File
{ "$schema": "https://vega.github.io/schema/vega-lite/v4.json", "description": "Stock price mean per quarter broken down by years.", "data": {"url": "data/stocks.csv"}, "mark": "line", "encoding": { "x": {"timeUnit": "quarter", "field": "date", "type": "ordinal"}, "y": {"field": "price", "type": "quantitative", "aggregate": "mean"}, "color": {"field": "symbol", "type": "nominal"}, "column": {"field": "date", "timeUnit": "year"} }}