🌍 Public
Viewing a saved revision (read-only)
42d3cba7dd1f40589c728c038c0ff0cd
Fork of Vega-Lite API Template
This example shows an interactive scatterplot of automobile data, plotting engine displacement against horsepower for individual car models. Each point represents a vehicle, with tooltips revealing the car’s name on hover. The visualization uses the Vega-Lite API to declare the chart specification, while D3’s `csv` function loads the auto-mpg dataset from a GitHub gist. The rendering relies on Vega and Vega-Lite scripts, with a custom dark-themed configuration for axis labels and titles, and the chart automatically fits the browser window dimensions.
AI-generated descriptionA visualization constructed using the vega-lite-api.