🌍 Public
Pie Chart (with labels) with d3
This interactive pie chart visualizes the top 10 countries with the highest women’s populations, with each slice labeled by name and value. Data is loaded from a CSV file and rendered as an SVG using d3.arc and d3.pie, with a categorical color scheme via d3.scaleOrdinal. The chart features interactive tooltips on hover, which display the country name and value, achieved by appending and removing text elements within the SVG. A legend is also generated alongside the chart.
AI-generated descriptionMIT Licensed








Comments
Sign in to join the discussion.