🌍 Public
Viewing a saved revision (read-only)
a2e07eeae22647e1848da2e4083a9e08
based on gender , sleeplessness- avg anixety
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