Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published1🌍 Public
MMrunal Saoji
Last edited Dec 3, 2021
Created on Dec 3, 2021

This example uses the Vega-Lite API to render a scatter plot of automotive data, mapping engine displacement and horsepower for individual car models. It loads the auto-mpg dataset via `d3.csv` and displays a tooltip with the car name on hover. The chart employs a semi-transparent point mark with a custom dark theme and full-window sizing. The code integrates `vega`, `vega-lite`, and `vega-lite-api` alongside `vega-tooltip` for interactive exploration.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes