🌍 Public
Viewing a saved revision (read-only)
0ccdfe6cf17c4b14825688db82ad8c78
harsha activity6
This bar chart shows the top 30 countries by population in 2020. The visualization uses React to render SVG elements and d3-scaleBand for the categorical y-axis and d3-scaleLinear for the quantitative x-axis, with population values formatted from raw data. Data is loaded asynchronously via d3.csv from a GitHub-hosted CSV file. A horizontal bar for each country is created with SVG rect elements, and axis ticks are generated using the scale functions, with tooltips provided through SVG title elements.
AI-generated descriptionA demonstration of how to start using D3 version 6.