🌍 Public
Viewing a saved revision (read-only)
e38467f3423f4bef9f2cb5fec9fbc155
Activity6_q2
A stacked bar chart displays student enrollment across five engineering departments, with each bar segmented into Undergraduate, Postgraduate, and PhD counts. The visualization uses d3.csv to load the dataset, d3.stack() to compute stacked series, and d3.scaleBand/d3.scaleLinear for axes. Color encoding distinguishes academic levels via d3.scaleOrdinal, while SVG rectangles render the bars. The chart includes labeled axes for Department and Number of Students.
AI-generated description