🌍 Public
Viewing a saved revision (read-only)
c892f829ecfc4c95ad3afbe2b63e7527
Fork of Vega-Lite API Template
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 descriptionA visualization constructed using the vega-lite-api.