🌍 Public
Viewing a saved revision (read-only)
8cae0291264946759148c9a2321098b4
A7-Q1
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.