🌍 Public
Viewing a saved revision (read-only)
7c04af1085134a58a8ed16c2fd006eb5
Fork of Vega-Lite API Template
This example displays a scatter plot of automobile data from an auto-mpg CSV, showing the relationship between engine displacement and horsepower. The visualization is built using the Vega-Lite API, which composes specifications and renders them through Vega-Lite while leveraging D3’s `csv` loader to fetch and parse the data. Points are rendered as semi-transparent filled circles with tooltips that reveal vehicle names. The plot uses a custom config and a fit-to-window layout, with axis styling adjusted for readability.
AI-generated descriptionA visualization constructed using the vega-lite-api.