Customizing Axes
This bar chart displays freshwater withdrawals for the top 10 countries, using data from a UBC freshwater dataset formatted with d3.csv. It builds on a basic bar chart by customizing the axes: the y-axis labels are enlarged with tick text styling, while the x-axis uses a custom tick format that converts values from gigabytes to billions via d3.format. Axis lines and domain paths are removed for a cleaner look, and labels for the title and x-axis are added with custom class-based styling. The chart uses d3.scaleLinear, d3.scaleBand, axisLeft, and axisBottom within an SVG rendered by D3 v5.