Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
JJayanth
Last edited Oct 4, 2021
Created on Oct 4, 2021

This example visualizes automobile fuel-efficiency data by plotting engine horsepower against miles per gallon, with colored points indicating the country of origin and point size encoding horsepower values. It uses the Vega-Lite API to construct the chart specification, which is then rendered through Vega-Lite’s compilation to Vega, with D3.js handling CSV data loading. The visualization employs a custom dark theme, tooltips, and auto-sizing to fill the browser window, all orchestrated via JavaScript modules that register the Vega-Lite API and D3’s CSV parser.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes