Activity6_Task1.1
✓ Published0🌍 Public
This bar chart displays the top 10 countries by population in the year 2000, using a horizontal layout with countries on the y-axis and population on the x-axis. The visualization uses React to render SVG elements, with D3 v5 scales and formatting functions (scaleBand, scaleLinear, format) to position bars and transform tick labels. Population data is loaded from a CSV file via d3.csv and prepared in a custom useData hook. Each bar includes a native SVG tooltip showing the formatted population value.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed