Skip to main content
100%

Filterable Cocktail Ingredient Bar Chart

✓ Published0🌍 Public
Aaizazhussain234
Last edited May 26, 2020
Created on May 26, 2020

This interactive bar chart displays the number of students enrolled per module, with the top 20 modules sorted in descending order. A dropdown menu filters the dataset by department (CSIS, CAM, or GAV), recalculating student counts and resorting the bars accordingly. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` for axes, `d3.nest()` for aggregation, and SVG `rect` elements with tooltips. The chart loads data from a remote CSV file and updates dynamically when the department selection changes.

AI-generated description
MIT Licensed

Similar vizzes