Fork of Simple Bar Chart
✓ Published0🌍 Public
This fork of a Simple Bar Chart displays the top 10 most populous countries as of January 1, 2024, using data from the @curran/un-population-estimates-2024 package. The chart uses d3.scaleBand and d3.scaleLinear to position bars, with axis labels generated via the @curran/axis-labels module. The visualization sorts countries in descending order of population and filters for the 'Country/Area' type. The code imports from d3 and uses selection joins to create the SVG elements, with the chart adapted for viewing within a gallery iframe.
AI-generated descriptionA bar chart showing the top 10 most populous countries on Earth as of January 1st 2024.
Challenge
- Fork this viz and modify it to show your own data
MIT Licensed