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)

1083aabb5244477f8488346e4974c70b

Fork of Vega-Lite API Template

0 stars0🌍 Public
Jjaowei
Last edited Apr 5, 2021
Created on Apr 5, 2021

This example displays a scatter plot of car data, with each point representing a vehicle. The visualization uses a circular mark with low opacity to show the distribution of horsepower across different regions of origin, with tooltips revealing the car’s name. The chart is built using the Vega-Lite API, which programmatically defines the visualization, while D3’s `csv` method loads the dataset. The rendering is handled by Vega and Vega-Lite, with a custom tooltip handler and styling to improve readability.

AI-generated description

A visualization constructed using the vega-lite-api.