Skip to main content
100%

Fork of Fork of Fork of Hello VizHub

✓ Published0🌍 Public
Jjayakrishnanallani5@gmail.com
Last edited Apr 6, 2025
Created on Apr 6, 2025

This interactive pie chart visualizes student mental health and academic data, letting the viewer examine the distribution of records across categories like stress levels, depression, relationship status, and grades. Selecting a different attribute from the dropdown redraws the chart based on precomputed counts from the CSV data. Built with D3 v7, the example uses `d3.csv`, `d3.rollup`, `d3.pie`, and `d3.arc` to generate SVG paths and labels, with hover interactions that expand a slice and trigger a tooltip. A categorical color scale, `d3.scaleOrdinal`, with the `d3.schemeTableau10` palette colors each segment.

AI-generated description
MIT Licensed

Similar vizzes