scatterplot of world health data
✓ Published0🌍 Public
A scatterplot displays the relationship between life expectancy and birth rate for countries in the 2023 world-data-2023.csv dataset. The visualization uses D3 v4 to render an SVG with axes, circles, and interactive hover effects. It loads data via `d3.csv`, scales the X-axis from 50 to 100, and computes the Y-axis domain from the birth rate values. Mouseover changes circle fill from green to red, demonstrating event handling in D3.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed