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)

f61a44cc31cd4e74a0d44238358b6771

Fork of Vega-Lite API Template

0 stars0🌍 Public
HHoang Doan
Last edited Mar 23, 2021
Created on Mar 23, 2021

This example shows a scatter plot of automobile data, with engine displacement on the x-axis and horsepower on the y-axis. Each point is semi-transparent, allowing overlapping points to reveal density. It uses the Vega-Lite API to declaratively build the visualization, with D3’s CSV reader to load the auto-mpg dataset. The Vega tooltip handler is enabled for interactive hover details, and the chart resizes to fit the window.

AI-generated description

A visualization constructed using the vega-lite-api.