Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 task 4

Public visualization

Viewing a saved revision (read-only)

ac20b1c34c184d8cb9f8f31145dbc40b

Activity 6 task 4

0 stars0🌍 Public
RRishabh Sharma
Last edited Apr 6, 2024
Created on Apr 6, 2024
Forked from Bubble chart

This bubble chart visualizes the relationship between GDP, population, and life expectancy for 14 countries. Each circle’s x-position maps to GDP, y-position to population, and radius to life expectancy, with country labels and hover highlighting. The SVG chart uses D3 v7 with `scaleLinear`, `d3.csv`, and `axisBottom`/`axisLeft`, reading data from an embedded CSV file. The code styles circles with the `.bubble` class and applies opacity changes on mouseover and mouseout events.

AI-generated description