Skip to main content
100%

Let's make a face with D3.js!

✓ Published0🌍 Public
SSkye-milu
Last edited Aug 4, 2019
Created on Aug 3, 2019

This bar chart displays the population of the top five most populous countries using 2018 estimates from the United Nations World Population Prospects. The visualization uses D3 v5 with SVG rendering, employing `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the y-axis, and custom tick formatting via `d3.format`. Axes are drawn with `d3.axisBottom` and `d3.axisLeft`, and bars are styled pink with a 0.3 padding.

AI-generated description

DThis 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