Making A Bar Chart!
✓ Published1🌍 Public
This bar chart displays the populations of the ten most populous countries, based on 2020 estimates from Worldometers. It uses D3 v6’s scaleLinear and scaleBand to map population values and country names to a horizontal bar layout, rendered as SVG rects that change color on hover. The visualization includes axis labels and a title, with x-axis tick values formatted in billions and gridlines drawn using axisBottom.
AI-generated descriptionThis bar chart shows population of the top 10 most populous countrys. The data comes from the year 2020 estimate in [https://www.worldometers.info/world-population]
MIT Licensed