🌍 Public
Viewing a saved revision (read-only)
fb2758e836754341a9e5fbfe6c5b92a1
Fork of Vega-Lite API Template
This example visualizes the relationship between engine displacement, horsepower, weight, and origin for a dataset of automobiles from the auto-mpg CSV file. A scatter plot displays displacement on the x-axis and horsepower on the y-axis, with color encoding car origin and size encoding weight, while tooltips reveal vehicle names. Built using the Vega-Lite API, it registers Vega and Vega-Lite, loads data with d3.csv, and renders an interactive SVG visualization with a custom dark theme and tooltip handler.
AI-generated descriptionA visualization constructed using the vega-lite-api.