Assignment-2
✓ Published0🌍 Public
This bar chart displays the population of ten countries in the year 2000, ordered by country name along the vertical axis with horizontal bars representing population values. The visualization uses React to render SVG elements, with D3 v5 scales (scaleBand and scaleLinear) for positioning, and custom axis components that format tick labels using D3's format function to abbreviate values (e.g., converting G to B for billions). Data is loaded asynchronously from a CSV file using D3's csv method, with the top ten rows selected for display.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed