Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
AAriana
Last edited Jul 15, 2021
Created on Jul 15, 2021

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 description

A 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

Similar vizzes