Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Mm. scott veach
Last edited Mar 19, 2023
Created on Mar 19, 2023

This example visualizes automobile fuel efficiency and performance data from the UCI Auto MPG dataset. A scatter plot shows each car’s miles per gallon against its horsepower, with color encoding country of origin and point size reflecting vehicle weight. Hovering reveals the car’s name via tooltip. The visualization is built with the Vega-Lite API, wrapping the Vega-Lite declarative grammar, and renders through Vega with an SVG renderer, using D3 for CSV data loading and Vega-Tooltip for interactions.

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