🌍 Public
Viewing a saved revision (read-only)
6683dbf72ccf46168aa120cbd596ee4f
Fork of Gender Distribution Chart
This example visualizes the gender distribution across university modules, presenting the counts of male and female students as stacked bars for each course. It uses D3.js with an ordinal x-axis and linear y-axis to display the data. The chart supports switching between raw counts and percentage-based views via radio buttons, animating the transitions with `transition()` and `duration()`. Course names are listed vertically on the x-axis, and a legend identifies the gender categories. The visualization reads from a CSV file and employs D3’s stack layout to compute the bar segments.
AI-generated description