Task1.2_Activity6
✓ Published1🌍 Public
This horizontal bar chart displays the populations of the top 20 countries in 2010, with data loaded from a CSV file and rendered as SVG rectangles. The visualization uses React to manage the interface and D3 v5’s `scaleBand`, `scaleLinear`, and `csv` functions to process the data and map values to positions. Axes are created with custom components that generate tick marks and labels, while the bars include tooltips showing formatted population values via D3’s `format`. The chart is styled with a green fill for bars and blue grid lines, and the x-axis is labeled "POPULATION-2010".
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed