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)

b880e51b79f54415891ec16dbf2d1848

Fork of Vega-Lite API Template

0 stars0🌍 Public
SSofffos
Last edited Feb 27, 2021
Created on Feb 27, 2021

This scatter plot visualizes the relationship between a car's origin country and its horsepower, using the auto-mpg dataset. Each point is rendered as a large, semi-transparent circle, with size and opacity set to 9000 and 0.02 respectively. The visualization is built using the vega-lite-api library, which registers Vega and Vega-Lite, and retrieves data from a CSV URL via d3.csv. The plot is fitted to the window size and includes a tooltip that displays the car's name on hover.

AI-generated description

A visualization constructed using the vega-lite-api.