LokeshMadem_Activity6_population2
✓ Published0🌍 Public
This bar chart displays the top 20 countries by population in 2010, ranked alphabetically along the vertical axis with horizontal bar lengths proportional to population values. The visualization uses React to render SVG elements, with D3 v5’s `scaleBand` and `scaleLinear` handling axis scaling and `format` providing abbreviated tick labels. Data is loaded via D3’s `csv` from a GitHub repository, with populations converted from raw values. The chart includes styled tick lines, a labeled x-axis, and tooltips on each bar showing formatted population figures.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed