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)

7998f3bea5df427cb7b0f3c0d5df880d

Fork of Vega-Lite API Template

0 stars0🌍 Public
NNikhil
Last edited Apr 3, 2024
Created on Apr 2, 2024

A scatterplot of auto-mpg data shows the relationship between engine displacement and horsepower, with vehicle names available as tooltips. Built using the Vega-Lite API, the visualization registers Vega and Vega-Lite with a Vega-Tooltip handler and renders points to the full browser window. Data is loaded asynchronously via d3.csv from a GitHub gist, while axis labels and titles are customized through a config object. The chart uses a dark-on-light theme with semi-transparent point markers and no axis domains.

AI-generated description

A visualization constructed using the vega-lite-api.