activity6 question-4
✓ Published0🌍 Public
This interactive bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 20 car makes. Each circle represents a car make, positioned by horsepower and torque on the x and y axes, with circle size encoding highway MPG and color distinguishing the make. The visualization uses D3 v7 with SVG rendering, featuring a tooltip that displays the car make on hover and a legend for bubble size. The chart is built using `d3.csv`, `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.axisBottom`/`d3.axisLeft`, with smooth opacity transitions on mouse events.
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