Skip to main content
100%

Fork of Vega-Lite API Template 2

✓ Published0🌍 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.

MIT Licensed

Similar vizzes