hvega-0.5.0.0: tests/specs/config/dark.vl
{
"hconcat": [
{
"height": 200,
"mark": {
"size": 100,
"type": "point"
},
"width": 200,
"title": "Car Scatter",
"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": "bar",
"width": 200,
"title": "Car Histogram",
"encoding": {
"color": {
"field": "Origin",
"type": "nominal"
},
"x": {
"field": "Horsepower",
"type": "quantitative"
},
"y": {
"aggregate": "count",
"type": "quantitative"
}
}
},
{
"height": 200,
"mark": "area",
"width": 200,
"title": "Car Streamgraph",
"encoding": {
"color": {
"field": "Origin",
"type": "nominal"
},
"x": {
"field": "Year",
"timeUnit": "year",
"type": "temporal"
},
"y": {
"aggregate": "count",
"type": "quantitative",
"axis": null,
"stack": "center"
}
}
}
],
"config": {
"title": {
"color": "#fff",
"font": "Roboto"
},
"axis": {
"domainColor": "yellow",
"labelColor": "#fcf",
"titleFont": "Roboto",
"titleColor": "rgb(200,255,200)",
"gridColor": "rgb(255,255,200)",
"labelFont": "Roboto",
"tickColor": "white",
"gridOpacity": 0.2
},
"background": "black",
"legend": {
"gradientStrokeColor": "yellow",
"fillColor": "#333",
"labelColor": "white",
"titleFont": "Roboto",
"symbolFillColor": "red",
"titleColor": "rgb(200,200,200)",
"labelFont": "Roboto",
"strokeColor": "#444"
}
},
"data": {
"url": "https://vega.github.io/vega-lite/data/cars.json"
},
"resolve": {
"scale": {
"color": "independent",
"shape": "independent"
}
},
"$schema": "https://vega.github.io/schema/vega-lite/v4.json"
}