Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
JJamesHop31
Last edited Jun 9, 2022
Created on Jun 9, 2022
Forked from Customizing Axes

This horizontal bar chart displays the populations of the top 10 most populous countries, with the 2018 UN estimates scaled by 1,000 and each bar colored according to a per-country field. The visualization uses d3.scaleBand for the categorical y-axis and d3.scaleLinear for the quantitative x-axis, with population values formatted using d3.format and the tick labels converted from billions to a readable format. The chart is rendered as SVG, with axes created via d3.axisLeft and d3.axisBottom, and includes a custom axis-label and title.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data is sourced from 2018 estimate from the link: https://esa.un.org/unpd/wpp/download/standard/population/

MIT Licensed

Similar vizzes