Untitled
✓ Published0🌍 Public
This example shows a horizontal bar chart of population by country, using SVG rendered through React. The chart maps country names to the y-axis with a band scale and population values to the x-axis with a linear scale, displaying tick labels formatted in billions. It constructs axes manually with React components and the d3-scale API, while formatting tick values using d3.format. The data is loaded asynchronously with the d3.csv function.
AI-generated descriptionMIT Licensed