Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
MMalcolm Mead
Last edited Jan 17, 2022
Created on Jan 17, 2022

This example demonstrates a scatter plot of automobile data, mapping miles per gallon and horsepower with point size reflecting mpg and color indicating origin. The visualization uses the Vega-Lite API to declare the chart specification, with D3.js loading the CSV dataset from a GitHub gist. Rendering is handled by Vega and Vega-Lite, while Vega Tooltip provides interactive hover details. The chart fills the viewport, and custom axis, label, and title styling improve readability against the dark text on a light background.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes