activity 6_Task 1
✓ Published0🌍 Public
This interactive bar chart visualizes the 2020 population rankings of 30 countries, using a horizontal layout for easy comparison. The chart is built with React and D3 v5, where D3’s `scaleBand` and `scaleLinear` handle the axis mappings and the SVG rectangles are generated from the CSV data. The bottom axis uses a `.2s` format to abbreviate large numbers, converting 'G' to 'B' for readability, while the left axis lists country names. Tooltips on each bar provide the precise population value, and the interface is styled with a green fill and blue axis ticks.
AI-generated descriptionMIT Licensed