π Public
activity 6_Task 1_Question1-1
This horizontal bar chart displays the population of ten countries in the year 2000, sorted by country name. The visualization uses React with D3 v5's `scaleBand` and `scaleLinear` to map country names and population values to SVG rectangles. Data is loaded remotely via D3's `csv` function, and tooltips show formatted population values using `format('.2s')`. The chart includes styled axes with blue tick lines and light green bars.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed
Comments
Sign in to join the discussion.