Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

be45061d0fdd49728126b017a6677a61

Fork of Vega-Lite API Template

0 stars0🌍 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.