Skip to main content
100%

Activity6_Question4

✓ Published0🌍 Public
JJhansi Balla
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from Hello VizHub

This animated bubble chart compares life expectancy against healthcare spending across multiple countries from 1970 to 1974. Each circle represents a country-year observation, with bubble size scaled to spending and color uniquely identifying each country. Hovering reveals a tooltip with exact values. The visualization uses D3 v7 with SVG rendering, employing `d3.scaleLinear` for axes and bubble sizing, `d3.scaleOrdinal` for color assignment, and CSV data loaded via `d3.csv`. Interactive tooltips respond to mouse events for enhanced data exploration.

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