Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6-Question-4

Public visualization

Viewing a saved revision (read-only)

aa1d4904b7314e34b90499bdbbf79fc8

Activity-6-Question-4

0 stars0🌍 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.