Styled Bar Chart
✓ Published2🌍 Public
This example displays a horizontal bar chart ranking the populations of the ten most populous countries, with formatted tick labels and axis styling. The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis, `scaleLinear` for the numerical x-axis, and SVG rectangles for the bars. Data is loaded from a CSV file of UN population estimates for 2020, and the chart includes custom tick formatting that converts values to billions with the ‘B’ suffix.
AI-generated descriptionAxes with 3D
MIT Licensed