hvega-0.11.0.1: tests/specs/config/default.vl
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"config": {},
"data": {
"url": "https://vega.github.io/vega-lite/data/cars.json"
},
"hconcat": [
{
"encoding": {
"color": {
"field": "Cylinders",
"type": "ordinal"
},
"shape": {
"field": "Origin",
"type": "nominal"
},
"x": {
"field": "Horsepower",
"type": "quantitative"
},
"y": {
"field": "Miles_per_Gallon",
"type": "quantitative"
}
},
"height": 200,
"mark": {
"size": 100,
"type": "point"
},
"title": "Car Scatter",
"width": 200
},
{
"encoding": {
"color": {
"field": "Origin",
"type": "nominal"
},
"x": {
"field": "Horsepower",
"type": "quantitative"
},
"y": {
"aggregate": "count",
"type": "quantitative"
}
},
"height": 200,
"mark": "bar",
"title": "Car Histogram",
"width": 200
},
{
"encoding": {
"color": {
"field": "Origin",
"type": "nominal"
},
"x": {
"field": "Year",
"timeUnit": "year",
"type": "temporal"
},
"y": {
"aggregate": "count",
"axis": null,
"stack": "center",
"type": "quantitative"
}
},
"height": 200,
"mark": "area",
"title": "Car Streamgraph",
"width": 200
}
],
"resolve": {
"scale": {
"color": "independent",
"shape": "independent"
}
}
}