hvega-0.9.0.0: tests/specs/gallery/bar/baraxisspacesaving.vl
{
"height": {
"step": 50
},
"mark": {
"cornerRadiusEnd": 2,
"yOffset": 5,
"type": "bar"
},
"data": {
"url": "https://vega.github.io/vega-lite/data/cars.json"
},
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"encoding": {
"x": {
"aggregate": "count",
"type": "quantitative",
"axis": {
"grid": false
}
},
"y": {
"field": "Origin",
"scale": {
"padding": 0
},
"type": "nominal",
"axis": {
"titleAlign": "left",
"bandPosition": 0,
"titleX": 5,
"domain": false,
"labelOffset": -15,
"titleY": -5,
"labelPadding": -5,
"labelBaseline": "middle",
"grid": true,
"labelAlign": "left",
"ticks": false,
"titleAngle": 0
},
"band": 0.5
}
},
"description": "Bar Chart with a spacing-saving y-axis"
}