Skip to main content
100%

Activity6_Question4

✓ Published0🌍 Public
MMounishAllam@my.unt.edu
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

This interactive bubble chart visualizes the relationship between healthcare spending (in USD) and life expectancy across several countries from 1970 to 1974. Each circle’s size encodes spending amount, while its color distinguishes the country, with tooltips revealing exact values on hover. Built with D3 v7, it uses `d3.csv` to load data, `scaleLinear` for axes and bubble sizing, `scaleOrdinal` for color mapping, and `d3.axisBottom`/`axisLeft` for axes. The chart includes a legend for bubble sizes and country categories, rendered as SVG with animated tooltip transitions.

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