hvega-0.12.0.7: tests/specs/gallery/scatter/scatter4.vl
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"data": {
"url": "https://vega.github.io/vega-lite/data/cars.json"
},
"description": "A scatterplot showing horsepower and miles per gallon with country of origin double encoded by colour and shape.",
"encoding": {
"color": {
"field": "Origin",
"type": "nominal"
},
"shape": {
"field": "Origin",
"type": "nominal"
},
"x": {
"field": "Horsepower",
"type": "quantitative"
},
"y": {
"field": "Miles_per_Gallon",
"type": "quantitative"
}
},
"mark": "point"
}