Fork of Vega-Lite API Template
✓ Published0🌍 Public
This scatter plot visualizes the relationship between fuel efficiency (mpg) and engine power (horsepower) for a set of automobiles, with each point color-coded by the vehicle’s country of origin. Built on the Vega-Lite API, it loads the Auto MPG dataset from the UCI Machine Learning Repository via a CSV fetched with d3.csv. The visualization uses `vl.markCircle`, `vl.x`, `vl.y`, `vl.color`, and `vl.tooltip` to encode the data, while custom config axis rules and a tooltip handler improve readability and interactivity.
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