hvega-0.12.0.7: tests/specs/gallery/line/line5.vl
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"data": {
"url": "https://vega.github.io/vega-lite/data/stocks.csv"
},
"description": "Google's stock price over time (quantized as a step-chart).",
"encoding": {
"x": {
"axis": {
"format": "%Y"
},
"field": "date",
"type": "temporal"
},
"y": {
"field": "price",
"type": "quantitative"
}
},
"mark": {
"interpolate": "step-after",
"type": "line"
},
"transform": [
{
"filter": "datum.symbol === 'GOOG'"
}
]
}