hvega-0.12.0.7: tests/specs/gallery/bar/bar3.vl
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"data": {
"url": "https://vega.github.io/vega-lite/data/population.json"
},
"description": "A bar chart showing the US population distribution of age groups in 2000.",
"encoding": {
"x": {
"aggregate": "sum",
"axis": {
"title": "population"
},
"field": "people",
"type": "quantitative"
},
"y": {
"field": "age",
"sort": "descending",
"type": "ordinal"
}
},
"height": {
"step": 17
},
"mark": "bar",
"transform": [
{
"filter": "datum.year == 2000"
}
]
}