Activity-6_Question-4
✓ Published1🌍 Public
This D3.js bubble chart visualizes the correlation between vehicle weight, height, and length using 34 car models. Each circle’s x-position maps to weight, y-position to height, and radius to length, with colors distinguishing models via `d3.scaleOrdinal` and `d3.interpolateTurbo`. A tooltip appears on mouseover, and legends for both bubble size and color are rendered as SVG shapes and text. The chart loads CSV data asynchronously with `d3.csv` and is built with SVG elements and axes from `d3.axisBottom` and `d3.axisLeft`, featuring an animation-free, static layout.
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