🌍 Public
Viewing a saved revision (read-only)
bf46afb601cf4189a12162adda32a41e
Fork of Vega-Lite API Template
This example demonstrates the relationship between automobile origin, model year, and name using a scatterplot of the auto-mpg dataset. The visualization reveals patterns in vehicle attributes across different manufacturers and time periods. It combines the Vega-Lite API for declarative chart specification with D3’s `csv` loader for data ingestion. The code registers Vega, Vega-Lite, and vega-tooltip, then renders an interactive SVG with origin-based color encoding, tooltips, and a fitted, full-window layout.
AI-generated descriptionA visualization constructed using the vega-lite-api.