Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published1🌍 Public
KKoundinya
Last edited Dec 26, 2021
Created on Dec 26, 2021

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 description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes