Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
JJosh Gilfillan
Last edited Feb 28, 2023
Created on Feb 28, 2023

This visualization shows the relationship between vehicle weight, horsepower, and origin for cars in the Auto MPG dataset from the UCI Machine Learning Repository. A scatter plot encodes weight on the x-axis and horsepower on the y-axis, with circles colored by origin and sized by weight. Tooltips reveal the car name. The chart is built using the Vega-Lite API with d3.v5 for data fetching, rendered as an SVG, and customized with a dark axis and label configuration.

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