Skip to main content
100%

Activity6_Q4

✓ Published0🌍 Public
Aanish6005@gmail.com
Last edited Oct 23, 2024
Created on Oct 22, 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. The visualization uses D3 v7 to render SVG circles, with bubble size proportionally mapped to spending values and color assigned per country via an ordinal scale with an interpolated Turbo colormap. A custom tooltip displays precise data on hover. The chart includes axis labels, bubble size legends, and a country color legend. Data is loaded from a local CSV file and rendered with animation-ready SVG elements.

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