Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
VVictor Henriquez
Last edited Sep 19, 2022
Created on Sep 19, 2022

This example shows a scatter plot of automobile displacement against horsepower, with each point sized and colored to reveal density and labeled by car name via tooltips. The visualization is built using the Vega-Lite API (vl) combined with D3’s csv loader to fetch the auto-mpg dataset from a GitHub Gist. The code configures axis styling, a dark color scheme, and an interactive tooltip handler, then renders the chart to fill the browser window using Vega’s SVG renderer.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes