Skip to main content
100%

Vega-Lite API Template

✓ Published0🌍 Public
Mmkt-ds
Last edited Oct 27, 2019
Created on Oct 27, 2019

This visualization uses the Vega-Lite API to plot automobile data from the auto-mpg CSV dataset, showing the relationship between weight, horsepower, fuel efficiency (mpg), and car model name. Circles are sized by mpg and colored by weight, with tooltips displaying the model name. The code registers Vega, Vega-Lite, and the Vega-Lite API, fetches data via d3.csv, and renders an SVG view that fits the window dimensions with customized axis and label styling.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes