Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

3448e5f7f33e45bea8eb169cb2c7c059

Vega-Lite API Template

0 stars1🌍 Public
Ddavid-cv2
Last edited Nov 17, 2019
Created on Nov 17, 2019

This example shows a scatter plot of automobile data, with engine displacement on the x-axis, horsepower on the y-axis, and points colored by model year and sized by vehicle weight. Tooltips display the car name on hover. Built with the Vega-Lite API, it registers Vega and Vega-Lite libraries, and uses vega-tooltip for interaction. The data is loaded via D3’s `csv` function from a remote URL, with custom axis and label styling applied through a configuration object.

AI-generated description

A visualization constructed using the vega-lite-api.