Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
TTsaikkari
Last edited Jul 31, 2021
Created on Jul 31, 2021

This gallery example shows a scatter plot of auto-mpg data, with horsepower on the y-axis and year on the x-axis. Each circle’s size encodes vehicle weight, while its color represents the country of origin, and hovering reveals the car’s name. Built with the Vega-Lite API, it loads CSV data via d3.csv and renders the visualization using Vega and Vega-Lite, with a customized config and tooltip handler.

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