Skip to main content
100%

Question1

✓ Published0🌍 Public
Ssailalith2000@gmail.com
Last edited Apr 10, 2025
Created on Apr 10, 2025
Forked from Hello VizHub

This example shows the distribution of Eurovision Song Contest winners by country from 2000 to 2022, using a pie chart with a legend displaying each country’s win count. The visualization loads CSV data from a GitHub gist, counts wins per country, and renders the chart with D3 v7’s `d3.pie` and `d3.arc` generators. SVG paths are colored via `d3.scaleOrdinal` with the `schemeCategory10` palette, while labels are positioned at arc centroids using `arc.centroid`. A legend is appended as SVG groups with rectangles and text.

AI-generated description
MIT Licensed

Similar vizzes