Skip to main content
100%

Human Capital Index Horizontal Bar Chart

✓ Published0🌍 Public
Pparaskevik
Last edited May 24, 2023
Created on May 21, 2023
Forked from D3 Starter

This horizontal bar chart displays the Human Capital Index for 56 countries, using data from the World Bank via a CSV file. The chart sorts countries by HCI value in descending order, with each bar’s length representing the index and a numeric label showing the rounded value. Built with D3 v7, the visualization uses `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and SVG rendering with `axisLeft` and `axisBottom` to generate clean, tick-free axes. The bars are colored lightseagreen, and the data is loaded and parsed asynchronously using `csv()`.

AI-generated description

Human Capital Index (HCI) dataset obtained from the World Bank

The Human Capital Index is a metric that measures the amount of human capital a country has and how effectively it is being invested in the development of its population. It takes into account factors such as education, health, and skills.

References:

https://data.worldbank.org/

https://www.kaggle.com/datasets/sagarnildass/worldbank-economicsdemographics-data

https://vizhub.com/AuliaAmirullah15/4927c0fd07c84ce28c4a1083124d8098

MIT Licensed

Similar vizzes