Activity 6_Task Q1
✓ Published0🌍 Public
This visualization shows a horizontal bar chart of the top 30 countries by population in the year 2000. The chart uses D3 v5 scales (scaleBand for the y-axis and scaleLinear for the x-axis) within a React framework, rendering bars as SVG rectangles. Population values are formatted using D3's format function, converting large numbers to abbreviated labels with 'B' for billions. The data is loaded from a CSV file using D3's csv function and styled with green bars, blue tick lines, and labeled axes.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed