Skip to main content
100%

Fork of vitesh sample

✓ Published0🌍 Public
HHalah
Last edited Apr 7, 2024
Created on Apr 7, 2024
Forked from vitesh sample

This example presents two linked visualizations of global health expenditure data. A histogram reveals the distribution of health expenditure as a percentage of GDP across countries, while a scatter plot matrix explores correlations between health expenditure metrics, spending per capita, and external health funding. The implementation uses D3 v6 with SVG rendering, employing `d3.histogram` to bin the data and `d3.scaleLinear` with `d3.axisBottom` and `d3.axisLeft` for the axes. Interactive tooltips are added through D3’s mouseover and mouseout event handlers. Data is loaded from a CSV file via `d3.csv`.

AI-generated description
MIT Licensed

Similar vizzes