Styling Bar Chart
This example shows a horizontal bar chart ranking the ten most populous countries in 2020, with a muted color palette and styled gridlines. The chart uses D3.js scales (`scaleBand`, `scaleLinear`) and `format` to abbreviate population numbers with "B" for billions. Built with React, it renders SVG elements via custom components (`AxisBottom`, `AxisLeft`, `Marks`), and loads data from a CSV file. The styling is defined through CSS classes that color the bars, axis ticks, and labels, while a tooltip appears on hover.