Pie chart
✓ Published0🌍 Public
This pie chart visualizes the top 10 countries by tourist visits, with each slice labeled with its value in thousands. The chart renders as an SVG using D3 v5, employing `d3.pie` to compute arc angles and `d3.arc` to generate the path segments. Slice colors come from a `scaleOrdinal` mapping, and a legend lists each country with its corresponding color and value. Data is fetched as CSV from a GitHub gist, with tourist counts formatted using `d3.format` for concise display.
AI-generated descriptionMIT Licensed