My Fork of Vega-Lite API Template
✓ Published0🌍 Public
A scatter plot visualizes the relationship between fuel efficiency (miles per gallon) and engine power (horsepower) for automobiles, using color to distinguish countries of origin and size to represent vehicle weight. The visualization is built with the Vega-Lite API, which generates Vega-Lite specifications compiled to Vega for rendering. Data is loaded asynchronously from the UCI Auto MPG dataset via d3’s CSV parser, with interactive tooltips provided by Vega-Tooltip. The chart fills the browser window and applies a customized dark theme for improved readability.
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.
MIT Licensed