Viewing a saved revision (read-only)
b481fd7c43db4079807cf1a10b7c4d0d
Activity6_Task4
This bubble chart shows the correlation between average horsepower, torque, and highway MPG across 31 car makes, with each bubble’s position mapping horsepower on the x-axis and torque on the y-axis, while radius encodes MPG and color distinguishes manufacturers. The visualization includes an interactive tooltip that displays the car make on hover, plus legends for both bubble size and color categories. The chart is rendered as SVG using D3 v7, employing `d3.scaleLinear` for axes and bubble sizing, `d3.scaleOrdinal` with `d3.interpolateTurbo` for color assignment, and event handlers for tooltip display. Data comes from a CSV file with aggregated averages per make.
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.