Skip to main content
100%

Customizing Axis

✓ Published0🌍 Public
Rrandom-program
Last edited Nov 22, 2020
Created on Nov 22, 2020
Forked from Customizing Axis

This horizontal bar chart shows the population of the top 10 most populous countries using 2018 estimates from World Population Prospects 2017. The chart uses d3.scaleBand for the categorical country axis and d3.scaleLinear for the quantitative population axis. Population values are formatted with d3.format’s `.3s` shorthand, and rendered as SVG rectangles with steelblue fill. The data is loaded via d3.csv and parsed by multiplying raw values by 1000.

AI-generated description

This bar charts shows population of the top 10 most populous countries. the data comes from the year 2018 estimate in World Population Prospects 2017.

MIT Licensed

Similar vizzes