viewof view = embed({
"$schema": "https://vega.github.io/schema/vega-lite/v2.json",
"data": {
"name": "source",
"url": "https://vega.github.io/vega-datasets/data/cars.json"
},
"mark": "point",
"encoding": {
"x": {
"field": "Origin",
"type": "nominal"
},
"size": {
"aggregate": "count",
"field": "*",
"type": "quantitative"
},
"y": {
"field": "Cylinders",
"type": "nominal"
}
},
"config": {
"line": {
"point": true
},
"scale": {
"useUnaggregatedDomain": true
}
}
})