🌍 Public
Viewing a saved revision (read-only)
beb029e9d7c14c4783e04714ee443493
Activity8-T4
This bubble chart displays the correlation between average horsepower, torque, and highway MPG for various car makes. Each car make is represented by a colored circle, with its position determined by horsepower (x-axis) and torque (y-axis), while the circle’s size corresponds to highway MPG. The color encodes the make, using `d3.interpolateTurbo` and `scaleOrdinal`. The visualization, built with D3 v7, uses the `join` API to create SVG circles, and includes interactive tooltips that appear on mouseover. A legend with circles and lines shows the MPG scale, and another legend maps color to car 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.