Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

dd6f8c5f0928400dae7899c6b1f908b6

Fork of Vega-Lite API Template

0 stars1🌍 Public
RReymond Mesuga
Last edited Mar 13, 2021
Created on Mar 13, 2021

This example displays a scatter plot of automobile displacement against horsepower, with each point representing a vehicle and its name available via tooltip. The visualization uses Vega-Lite’s declarative API through the `vega-lite-api` library, combining it with D3’s `csv` loader to fetch the auto-mpg dataset. The plot features a dark-themed configuration, semi-transparent points, and an axis style that suppresses domain lines. Rendering is handled by Vega, with tooltip interactions enabled using `vega-tooltip`, and the chart auto-fits to the window size.

AI-generated description

A visualization constructed using the vega-lite-api.