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)

d13f24323df54486b7dbed08a0f8ae3c

Fork of Vega-Lite API Template

0 stars0🌍 Public
Ccatalingdiaconu
Last edited May 6, 2022
Created on May 6, 2022

This interactive scatterplot uses the Vega-Lite API to visualize the relationship between engine displacement and horsepower in the auto-mpg dataset, with tooltips revealing vehicle names. The code configures a filled line mark with low opacity to create a density-like overlay effect, styled with custom axis and label formatting for readability. It loads data via d3.csv, registers Vega, Vega-Lite, and Vega-Tooltip, and renders an SVG chart that fits the full viewport.

AI-generated description

A visualization constructed using the vega-lite-api.