Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published1🌍 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.

MIT Licensed

Similar vizzes