Activity-6-Question-4
✓ Published0🌍 Public
This bubble chart visualizes the relationship between average battery life, RAM, and camera megapixels for various smartphone brands. Each circle represents a phone make, with its x-position mapped to horsepower and y-position to torque, while the circle’s radius encodes highway fuel efficiency. The code uses D3 v7 to load CSV data, create linear scales, and render SVG elements. Interactive tooltips display the brand name on mouseover, and a color scale distinguishes each manufacturer.
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