Fork of Activity 7
✓ Published2🌍 Public
This example shows a horizontal bar chart comparing the populations of the top 10 countries in the year 2000. The visualization uses React components with D3 v5 scales, including `scaleBand` for the categorical country axis and `scaleLinear` for the numeric population axis. Data is loaded from a CSV file using `d3.csv`, and the bars are rendered as SVG rectangles with tooltips showing formatted population values. The chart includes custom axis components for the bottom and left sides, with population values formatted using `d3.format`.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed