{"version":"1.0","type":"rich","title":"Fork of sleep pattern vs depression","description":"This pie chart visualizes the distribution of depression scores across sleep-pattern categories, showing how total depression values are partitioned into groups defined by hours of sleep. The visualization uses D3 v7’s `pie`, `arc`, `scaleOrdinal`, and `rollup` functions to aggregate and encode the data, with interactive hover tooltips and a static legend displaying category percentages. The underlying data comes from a CSV file of student grades and mental health, loaded via `d3.csv`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7ddc8621c49445fa83af34b6910d102e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}