🌍 Public
Viewing a saved revision (read-only)
f9e70aa728844dc6bfe09ffa5ab58645
Fork of Vega-Lite API Template
This visualization uses a Vega-Lite API specification to render a scatter plot of Auto MPG data from the UCI Machine Learning Repository. Each circle’s position maps origin and horsepower, while its size reflects mpg and its color encodes horsepower, with tooltips showing car names. The code builds the chart using the vega-lite-api library, registers Vega and Vega-Lite, and renders SVG via D3 v5, applying a custom config for axis and label styling.
AI-generated descriptionA visualization constructed using the vega-lite-api.
The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.