Vega-Lite API Template
✓ Published1🌍 Public
This example demonstrates a scatterplot of automobile data from the auto-mpg CSV dataset, plotting horsepower against model year. Rendered as a static SVG via the Vega-Lite API, each circle is semi-transparent black, with a tooltip showing the car name on hover. The visualization is built programmatically using `vl.markCircle()`, `vl.x()`, and `vl.y()` encodings, with data loaded asynchronously via `d3.csv`. The chart fills the browser window and uses custom axis and label styling from a shared config object.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed