data visulization
This example shows a horizontal bar chart of country populations, with bars scaled by population values and country names on the y-axis. The visualization uses D3 v6’s `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to load the data, map population counts to bar widths, and render axes. Bars are drawn as SVG `rect` elements within a grouped `<g>` element, with margins applied via a `translate` transform. The data, sourced from `data.csv`, has population values multiplied by 1000 before rendering.