🌍 Public
Viewing a saved revision (read-only)
4aa61a5ae79d489ea8164f9d7d60276e
Fork of Vega-Lite API Template
This visualization displays automobile data from an auto-mpg dataset, plotting horsepower against origin of manufacture. Each car is represented as a semi-transparent circular mark, with tooltips revealing the vehicle’s name on hover. Built with the Vega-Lite API, the example uses `vl.markCircle`, `vl.x().fieldN()`, and `vl.y().fieldQ()` to encode categorical and quantitative fields. The code registers Vega and Vega-Lite with `vl.register`, loads CSV data via `d3.csv`, and applies a custom config to adjust axis and label appearance.
AI-generated descriptionA visualization constructed using the vega-lite-api.