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)

bef698367a32457187c5eb5199c09e24

Fork of Vega-Lite API Template

0 stars0🌍 Public
Ttjcocucci
Last edited Apr 20, 2021
Created on Apr 20, 2021

This example shows a scatterplot of automobile displacement against horsepower, with opacity to reveal overlapping points and tooltips displaying car names. The visualization is built using the Vega-Lite API, which compiles specifications to Vega, and renders with D3.js’s CSV loader to fetch the auto-mpg dataset. The code customizes axes and text styling via a config object, and integrates Vega-Tooltip for interactive hover details.

AI-generated description

A visualization constructed using the vega-lite-api.