Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Ggatperdut
Last edited Mar 19, 2021
Created on Mar 19, 2021

This example uses the vega-lite-api to render a scatter plot of automobile data, showing the relationship between engine displacement and horsepower, with tooltips displaying vehicle names. The visualization loads data from a CSV file using `d3.csv`, applies a custom dark theme through a Vega-Lite config object, and fills the viewport by setting chart width and height to the browser window dimensions. Interactive tooltips are enabled through vega-tooltip's `Handler`, and the chart renders as an SVG using D3 v5.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes