A7-Q1
✓ Published1🌍 Public
This visualization displays a pie chart comparing the population of ten countries for the year 2000. Built with React and D3 v5, it renders an SVG with colored slices, percentage labels, and a legend. The code uses d3.pie, d3.arc, and d3.schemeCategory10 for the chart, while data is loaded via d3.csv and transformed in a custom useData hook.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed