Fork of Simple Bar Chart
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.