Fork of Bar chart with D3.js!
✓ Published0🌍 Public
This bar chart displays the population of the top 10 most populous countries, using data from the 2018 United Nations World Population Prospects. The visualization uses D3.js v6 with an SVG rendering, employing `d3.csv` to load the data and `d3.scaleLinear` and `d3.scaleBand` for the x and y axes. The x-axis labels are formatted from values like 1.4G to 1.4B via a custom tick format function. A background grid is rendered using the axis tick lines.
AI-generated descriptionThis bar chart shows population of the top most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017
MIT Licensed