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)

24649d1070c6444f8f196a4f5dd0cfcf

Fork of Vega-Lite API Template

0 stars0🌍 Public
VVictor Henriquez
Last edited Sep 19, 2022
Created on Sep 19, 2022

This example shows a scatter plot of automobile displacement against horsepower, with each point sized and colored to reveal density and labeled by car name via tooltips. The visualization is built using the Vega-Lite API (vl) combined with D3’s csv loader to fetch the auto-mpg dataset from a GitHub Gist. The code configures axis styling, a dark color scheme, and an interactive tooltip handler, then renders the chart to fill the browser window using Vega’s SVG renderer.

AI-generated description

A visualization constructed using the vega-lite-api.