Fork of Gender Distribution Chart
✓ Published1🌍 Public
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 descriptionMIT Licensed