Fork of Pie Chart
✓ Published0🌍 Public
This visualization shows the distribution of mental health conditions among remote workers, with each slice of the pie chart representing the count of a specific condition. The chart is rendered as an SVG using d3.pie and d3.arc to generate the slices, with d3.scaleOrdinal and d3.schemeCategory10 assigning colors. A legend below displays the condition names as colored rectangles. The data comes from a CSV file loaded via d3.csv, and the code also logs the condition name to the console on mouseover events.
AI-generated descriptionMIT Licensed