🌍 Public
Viewing a saved revision (read-only)
b3628ea7bd8c4a90b86666e6ea286b55
Fork of Vega-Lite API Template
This example visualizes the relationship between horsepower and acceleration for automobiles from the auto-mpg dataset. A scatter plot encodes acceleration on the x-axis and horsepower on the y-axis, with semi-transparent points to reveal density. The visualization is built using the Vega-Lite API in conjunction with D3’s `csv` loader to fetch data. Vega and Vega-Lite handle rendering, while vega-tooltip provides interactive hover details. The code customizes axis styling and removes chart domains for a cleaner appearance.
AI-generated descriptionA visualization constructed using the vega-lite-api.