Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
MManuel Bauer
Last edited Aug 29, 2022
Created on Aug 29, 2022

This example uses the Vega-Lite API to create a scatter plot of automobile data, mapping weight to the x-axis, horsepower to the y-axis, and weight to color, with tooltips showing car names. It loads data from a CSV file of auto-mpg statistics via d3.csv, then renders the visualization with SVG. The code registers Vega and Vega-Lite via the `vl.register` method, applies a custom configuration for axis and label styling, and uses `vega-tooltip` to handle interactive hover details.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes