Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template 2

Public visualization

Viewing a saved revision (read-only)

600cc52299ae4d7ca687dc81ac685b5f

Fork of Vega-Lite API Template 2

0 stars0🌍 Public
DDanny Stephens
Last edited Sep 9, 2021
Created on Sep 5, 2021

This visualization displays a scatter plot of auto-mpg data, showing engine horsepower against miles per gallon, with each point colored by origin and sized by vehicle weight. Hovering reveals the car model name via tooltips. The code uses the vega-lite-api to construct the chart, d3.csv for data loading, and vega-tooltip for interactivity. Data originates from the UCI Machine Learning Repository, and the styling is customized through a config.js file.

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.