Skip to main content
100%

Fork of Pie Chart

✓ Published0🌍 Public
Kkshravyak.2001@gmail.com
Last edited Mar 25, 2025
Created on Mar 25, 2025
Forked from Pie Chart

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

Similar vizzes