🌍 Public
Viewing a saved revision (read-only)
87bf1ba5579f4eb1b663c7f8858e0056
Activity6_Task4
This bubble chart shows the correlation between average horsepower, torque, and highway MPG for various car makes. Each circle represents a make, positioned by horsepower on the x-axis and torque on the y-axis, with circle size encoding highway MPG and color differentiating make. The visualization uses d3.v7 to render SVG elements, with d3.scaleLinear for axes and bubble sizing, and d3.scaleOrdinal with interpolateTurbo for color mapping. A custom tooltip displays the make on hover, and legend circles indicate MPG values. Data comes from the CSV file bubblechart.csv.
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.