Skip to main content
100%

Activity-6-Question-4

✓ Published0🌍 Public
Nnaveen.dodda4321@gmail.com
Last edited Apr 5, 2024
Created on Apr 4, 2024

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes