Activity 6_Question-1
✓ Published0🌍 Public
A horizontal bar chart displays the population of ten countries in the year 2000, with bars extending from left to right. The visualization uses React to render SVG elements, with D3 v5's `scaleBand` and `scaleLinear` functions mapping country names and population values to the chart's axes. The `csv` function loads the dataset from a remote GitHub Gist, and the axis components are custom React components that call D3's tick generation methods. Population values are formatted using `format('.2s')` and converted from thousands to billions for the axis labels.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed