🌍 Public
Viewing a saved revision (read-only)
da1bde82d56f48af8541712df4594ddf
Activity6_Task4
This bubble chart compares average horsepower and torque for various car makes, with each bubble's size representing highway MPG. The visualization is built with D3.js (v7) and uses an SVG rendering, where bubble color is assigned via a turbo-interpolated ordinal scale based on car make. The chart includes a legend for bubble size and interactive tooltips on hover, implemented using D3's selection and event handling APIs. The code reads from a CSV file and uses D3's scale functions for positioning and sizing.
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.