Making a bar chart
This example shows a horizontal bar chart of the ten most populous countries, using circles scaled by population size. It loads data from a CSV file and renders SVG elements with D3 v5’s `csv`, `scaleLinear`, `scalePoint`, `axisLeft`, and `axisBottom` APIs. The chart includes custom tick formatting with `format('.3s')` to abbreviate population values and uses a margin-based layout with grid lines.