Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Fork of Vega-Lite API Template

0 stars1🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed