Skip to main content
100%

Vega-Lite API Template - Part 2

✓ Published1🌍 Public
JJohn Jeevasaeyan
Last edited Sep 6, 2021
Created on Sep 6, 2021

This example displays a scatter plot of automotive data, showing the relationship between miles per gallon and horsepower. Each circle encodes vehicle weight through color and engine displacement through size, with interactive tooltips revealing the car model name. The visualization is built using the Vega-Lite API, which composes specifications programmatically, and renders through Vega with D3.js for data loading via `d3.csv`. The data originates from the classic auto-mpg dataset hosted as a GitHub gist.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes