Skip to main content
100%

Fork of Making a Bar Chart

✓ Published0🌍 Public
Jjunior-armando
Last edited Mar 1, 2021
Created on Feb 28, 2021
Forked from Making a Bar Chart

This chart presents the 2018 estimated populations of the ten most populous countries from United Nations data, with bars colored steel blue that turn red on hover and display the exact population count. It uses D3 v5 with `csv` loading, `scaleLinear` and `scaleBand` for positioning, and `axisLeft` and `axisBottom` for labeled axes with custom tick formatting that abbreviates millions. The SVG rendering includes smooth `transition` effects for color changes on mouseover and mouseout, while styling is handled via an external stylesheet.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.

MIT Licensed

Similar vizzes