🌍 Public
Viewing a saved revision (read-only)
806d324fb6d846f0ae2258243def0ff7
Fork of Vega-Lite API Template
This example uses the Vega-Lite API to render a scatter plot of automotive data, mapping engine displacement and horsepower for individual car models. It loads the auto-mpg dataset via `d3.csv` and displays a tooltip with the car name on hover. The chart employs a semi-transparent point mark with a custom dark theme and full-window sizing. The code integrates `vega`, `vega-lite`, and `vega-lite-api` alongside `vega-tooltip` for interactive exploration.
AI-generated descriptionA visualization constructed using the vega-lite-api.