🌍 Public
Viewing a saved revision (read-only)
37b10efd92c24e479e8e8e5514b28f4e
activity6 task4
This bubble chart shows the correlation between average horsepower, torque, and highway MPG across different car makes. Each circle represents a car brand, positioned by its horsepower and torque values, with circle size encoding highway MPG and color distinguishing makes. The visualization uses d3.csv to load data, d3.scaleLinear for axes and bubble scaling, and d3.scaleOrdinal with d3.interpolateTurbo for coloring. Interactive tooltips appear on mouseover, and a legend shows MPG circle sizes and color-coded makes. The SVG is rendered with d3.v7 and includes axis labels and a title.
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.