Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Gender Distribution Chart

Public visualization

Viewing a saved revision (read-only)

a8ec471836a041aeb9538e3997271148

Gender Distribution Chart

0 stars0🌍 Public
Aanonymous5776
Last edited May 13, 2020
Created on May 13, 2020

This interactive stacked bar chart shows the gender distribution of students (female vs. male) across various university modules, using data from a CSV file. It displays the count of each gender per module, with a radio-button toggle that switches the y-axis between absolute counts and percentage-based proportions. The visualization is built with D3.js, using the `d3.layout.stack` API to stack the bars and `d3.svg.axis` for axes. Smooth transitions animate the change between count and percent views via the `.transition()` function.

AI-generated description