Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bubble Chart: All Data

Public visualization

Viewing a saved revision (read-only)

325b9a601f1c4004ba36c00951a8b3c1

Bubble Chart: All Data

0 stars0🌍 Public
SSimon Hackbert
Last edited Nov 1, 2022
Created on Nov 1, 2022
Forked from D3 Starter

This bubble chart displays global life expectancy against GDP per capita, with bubble size representing population and color indicating continent. The visualization includes an interactive tooltip showing country names on hover, plus a legend for population scale. Built with D3 v4, it uses SVG circles, d3.scaleLinear for axes, d3.scaleSqrt for bubble sizing, and d3.scaleOrdinal with d3.schemeSet1 for color mapping. The chart reads data from a CSV of three numeric variables per country and adds hover effects to highlight individual data points.

AI-generated description

A demonstration of how to start using D3 version 6.