🌍 Public
Viewing a saved revision (read-only)
47bdef5ab4174fc0af1b4b0044ab318e
Fork of Vega-Lite API Template
This example visualizes automobile performance data (horsepower versus displacement) as a scatterplot, with each point representing a car model. The visualization uses the Vega-Lite API to declaratively define the plot, while D3’s csv function loads the Auto MPG dataset from a remote URL. Vega and Vega-Lite handle rendering to SVG, and the vega-tooltip library provides interactive hover details. The code configures axes, point size, opacity, and tooltips, with the chart sized to fit the browser window.
AI-generated descriptionA visualization constructed using the vega-lite-api.