Making Bar Charts
A horizontal bar chart displays population figures for ten countries, with bars sorted alphabetically by country name. The visualization uses D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, `axisBottom`, and `csv` to load data from a local CSV file. Data values are converted from strings to numbers and scaled to fit an SVG canvas, with custom tick formatting replacing "G" with "B" for billion. The chart renders blue rectangles via SVG, with margins applied to accommodate axis labels, and removes default domain lines from the y-axis.