barGraph
A bar chart displays the 2022 population for each country from a CSV dataset, with the option to sort bars in descending order. Built with D3.js v5, it renders as an SVG with axes, tooltips on hover, and a clickable button that triggers an animated resort. The code imports from the `d3` module and uses `d3.scaleBand`, `d3.scaleLinear`, and `d3.axisBottom` for visualization.