Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

3f832bdeca00414c81dfff6b0dfe6d40

Fork of Vega-Lite API Template

0 stars0🌍 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.