Fork of Vega-Lite API Template
✓ Published0🌍 Public
This dashboard visualizes the relationship between fuel efficiency (MPG), horsepower, origin, and weight in a scatterplot of the Auto MPG dataset from the UCI Machine Learning Repository. Each circle is positioned by MPG and horsepower, colored by country of origin, and sized according to vehicle weight. The example uses the Vega-Lite API, registering `vega` and `vega-lite` libraries to build a declarative spec programmatically. Data is loaded via `d3.csv`, and the chart renders as an SVG with custom tooltips provided by the `vega-tooltip` handler.
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