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)

03e51266d1e3497cb2f833a24ca10aa5

Fork of Vega-Lite API Template

0 stars0🌍 Public
SSherv169
Last edited Mar 24, 2021
Created on Mar 24, 2021

This example shows a scatterplot of vehicles, plotting displacement against horsepower, with tooltips that reveal each vehicle’s name. The visualization is built using the Vega-Lite API, which registers Vega and Vega-Lite libraries and renders marks as SVG points. It loads data from a remote CSV endpoint via d3.csv, applies custom axis and label styling from a shared configuration, and uses the Vega-Tooltip handler to display interactive hover information. The chart fills the browser window and uses a semi-transparent point style for readability.

AI-generated description

A visualization constructed using the vega-lite-api.