Question 4
✓ Published1🌍 Public
A bubble chart visualizes the correlation between engine displacement, acceleration, and highway MPG for 1970s automobiles. Each circle represents a car model, positioned by its displacement and acceleration values, with the circle's radius scaled according to its MPG rating. The chart employs color encoding per car manufacturer, using the `d3.interpolateTurbo` color scale. Hovering over a bubble reveals a detailed tooltip displaying the car's make. Data is loaded from a local CSV file using `d3.csv`. The visualization includes a legend for both MPG values and manufacturer colors.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed