Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Scatter Plot

Public visualization

Viewing a saved revision (read-only)

a902cf0dc91244f3805d0a7019070033

Vega-Lite API Scatter Plot

1 star1🌍 Public
CCaroline Ghisolfi
Last edited Dec 18, 2022
Created on Dec 18, 2022

This scatter plot visualizes automobile data from the auto-mpg CSV dataset, showing the relationship between horsepower and origin on x and y axes. Each point represents a car model, with tooltips revealing the car name. Built with Vega-Lite API in conjunction with d3.csv for data loading, the visualization uses vega and vega-lite for chart specification, vega-tooltip for interactive hover details, and applies custom styling through a config object to adjust axis and label appearance.

AI-generated description

Scatter plot example