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)

919a9b4e536243f59bd40b1a3c42d8d4

Fork of Vega-Lite API Template

0 stars0🌍 Public
Jjwesterlund412
Last edited Jan 8, 2022
Created on Jan 7, 2022

This scatterplot visualizes U.S. auto industry trends, plotting engine horsepower against miles per gallon, with each car’s origin shown by color and its weight by bubble size. The interactive tooltip reveals the vehicle’s name on hover. The visualization is built using the Vega-Lite API, which compiles specifications to Vega for rendering via SVG, and the data is loaded from a CSV of the Auto MPG dataset using `d3.csv`. Custom axis and label styling come from a shared config object.

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.