q_6
✓ Published0🌍 Public
A bubble chart compares car brands by horsepower (y-axis), torque (x-axis), and highway MPG (bubble size and color), with a legend mapping both bubble radius and ordinal color categories. Rendered as SVG with animation via D3 v7, it uses `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.interpolateTurbo` to encode continuous and categorical variables. Interactive tooltips display each brand's make on hover. Data comes from the bundled `bubblechart.csv` file.
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.
MIT Licensed