Fork of activity 6_Question
✓ Published1🌍 Public
This chart displays the population of ten countries in the year 2000 as a horizontal bar chart, with country names on the y-axis and population values on the x-axis. The code uses React with D3 v5, employing `scaleBand` and `scaleLinear` for coordinate mapping, and renders SVG rectangles through custom `AxisBottom`, `AxisLeft`, and `Marks` components. Data is loaded from a CSV file using `d3.csv`, with population values converted from the ‘2000’ column and formatted using `d3.format`.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed