Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Projec2

Public visualization

Viewing a saved revision (read-only)

de1aa04f1cf4403092600b1a2f939d5b

Projec2

0 stars0🌍 Public
Vvyjayanthimamidipalli@gmail.com
Last edited Apr 4, 2025
Created on Apr 4, 2025
Forked from Hello VizHub

This example shows how student depression levels relate to their grades using a bar chart and a pie chart. The bar chart visualizes each student's depression level with color-coded bars, while the pie chart displays the distribution of depression levels across the dataset. Both charts use D3 v7's `d3.csv` to load data, `scaleBand` and `scaleLinear` for axes, and `d3.pie` and `d3.arc` for the pie slices. Interactive tooltips appear on hover, and the bar chart uses an event-driven `transition` for the tooltip's opacity changes.

AI-generated description