🌍 Public
Viewing a saved revision (read-only)
4de08532bcc5489c8c59f6d234639e59
Tutorial4
This interactive bubble chart shows the correlation between average horsepower, torque, and highway MPG across 31 car makes, with each bubble sized by fuel efficiency and colored by manufacturer. The visualization uses D3 v7 with SVG rendering and animated tooltips that appear on mouseover to display the car make. Data from `bubblechart.csv` is mapped through `d3.scaleLinear` for axes and bubble radius, with `d3.scaleOrdinal` assigning colors via `d3.interpolateTurbo` for the legend.
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.