🌍 Public
Viewing a saved revision (read-only)
b7d4ecf6b2fd45b68c084a2a77ae3e2f
Fork of Vega-Lite API Template
This visualization displays a scatterplot of automobile data, plotting horsepower against displacement for individual car models. Each point is rendered as a semi-transparent circle, with tooltips revealing the vehicle name on hover. The visualization is built using the Vega-Lite API, which registers with Vega and Vega-Lite to compile specifications and render SVG output. Data is loaded asynchronously from a remote CSV file using d3.csv, while the vega-tooltip Handler enables interactive tooltips. The chart dynamically fits its dimensions to the browser window through an autosize configuration.
AI-generated descriptionA visualization constructed using the vega-lite-api.