Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
GGregS1290
Last edited Oct 26, 2021
Created on Oct 26, 2021

This visualization displays the relationship between engine displacement and horsepower for a collection of automobiles, with tooltips revealing the model name for each point. It uses the Vega-Lite API to declaratively define the scatter plot, with D3.js (d3.csv) loading the auto-mpg dataset from a GitHub gist. The code registers Vega, Vega-Lite, and Vega-Tooltip, and renders the chart as SVG, adjusting the view to fit the window size.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes