Skip to main content
100%

HDI 1990-2021

✓ Published0🌍 Public
SSpencer McAvey
Last edited Apr 22, 2023
Created on Apr 22, 2023

A line chart displays Human Development Index (HDI) values by country from 1990 to 2021, with a drop-down menu toggling between overall, male, and female HDI metrics. Lines are colored by UNDP developing region via `scaleOrdinal`, while event markers appear as black dots. The chart uses d3.v7 with `scaleTime`, `scaleLinear`, `line`, and `flatGroup` to render trajectories, plus interactive tooltips on hover. Data is parsed from a CSV using `csvParse` and `timeParse`.

AI-generated description

A simple line chart of the HDI dataset: https://gist.github.com/smcavey/5f819b6d6a270c6de339532a592399d4
Comparing HDI values per country over time from 1990 to 2021.
Drop down menu permits choosing between HDI, male HDI values, and female HDI values.

MIT Licensed

Similar vizzes