Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Llatifiss
Last edited Jul 31, 2022
Created on Jul 31, 2022

This example uses the Vega-Lite API with D3 to render a scatterplot of automobile data from a CSV file. The visualization encodes origin as the x-axis, horsepower as the y-axis, weight as color, and mpg as point size, with tooltips showing car names. It applies custom axis and label styling via the Vega-Lite config, and uses the vega-tooltip handler for interactive hover details. The chart is rendered as an SVG that fits the full window using the vega-lite-api’s `render()` method.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes