Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 6_question

Public visualization

Viewing a saved revision (read-only)

44c4b6f8368a424e8267b0b311ca26af

activity 6_question

0 stars1🌍 Public
Aanusha.chilkamarri26@gmail.com
Last edited Apr 6, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This interactive bubble chart visualizes the correlation between birth rate, life expectancy, and GDP for fourteen countries. Each bubble's position encodes life expectancy (x-axis) and birth rate (y-axis), while its size reflects GDP and its color categorizes the country. Hovering over a bubble reveals its name. Built with D3 v7, the visualization uses `d3.scaleLinear` for axes and bubble size, `d3.scaleOrdinal` for color mapping, and `d3.cs` to load the `bubblechart.csv` data. A legend clarifies the GDP scale, and a tooltip appears on mouseover.

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.