Skip to main content
100%

Pie chart

✓ Published0🌍 Public
Ssandeep-gollamudi
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from ICE-7 Pie chart

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 description
MIT Licensed

Similar vizzes