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