Fork of Vega-Lite API Template
✓ Published0🌍 Public
A scatter plot displays the relationship between fuel efficiency (mpg) and horsepower for historical automobile models, with tooltips revealing each car's name. The visualization is built using the Vega-Lite API, which constructs a specification executed by Vega Lite and rendered as SVG by Vega. Data is loaded asynchronously from a CSV file via `d3.csv`. The chart dynamically resizes to fit the browser window, and the dark-themed configuration adjusts axis tick colors and label font sizes. Interactions are enabled through the `vega-tooltip` Handler class.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed