Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

based on gender , sleeplessness- avg anixety

Public visualization

based on gender , sleeplessness- avg anixety

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed