Fork of Act-7_Q1_1
✓ Published0🌍 Public
A horizontal bar chart displays the population of the top ten countries in the year 2000, sorted by country name with bars extending left-to-right from a shared origin. The React app loads CSV data from a GitHub repository, formats population values, and renders an SVG using D3 scaleBand and scaleLinear for axes and marks. The axis components draw tick lines and labels, while tooltips on each rectangle show the formatted population value using D3’s format function.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed