Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
AAnna Schierholz
Last edited Oct 28, 2021
Created on Oct 28, 2021

This example visualizes automobile fuel efficiency using a scatter plot of miles per gallon versus horsepower, colored by origin and sized by weight. A slider interactively filters the data to a single weight value, which updates the displayed points. The visualization is built with the Vega-Lite API, leveraging d3.csv for data loading from the UCI Auto MPG dataset, and uses vega-tooltip for hover details. Rendering is handled through vega.

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