Skip to main content
100%

based on gender , sleeplessness- avg anixety

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

This grouped bar chart visualizes average anxiety levels across five ordered sleeplessness categories, split by gender (F and M). The chart uses D3.js v7 with SVG rendering and animation, drawing bars that grow from zero via a duration-800 transition. It loads CSV data, applies `d3.rollups` for grouping and `d3.mean` aggregation, and scales colors with a `d3.scaleOrdinal` scheme. Interactive tooltips on `mouseover` and `mouseout` events display exact values, while axis labels and a legend clarify the comparison.

AI-generated description
MIT Licensed

Similar vizzes