Fork of Vega-Lite API Template
✓ Published0🌍 Public
This example visualizes the Auto MPG dataset from the UCI Machine Learning Repository, plotting vehicle model year against miles per gallon. Each circle is colored by the vehicle’s region of origin, and hovering reveals the car model name via tooltips. The visualization is built programmatically using the Vega-Lite API, with Vega and Vega-Lite registered for rendering, and D3.js handles CSV data loading. Custom configuration adjusts axis ticks, font sizes, and dark text color 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