Activity_6 Question 2
This stacked bar chart displays student enrollment counts across four courses (Engineering, Business, Medical, Arts) for the years 2000, 2021, 2022, and 2023, using data from a local CSV file. The visualization, rendered as an SVG, uses D3 v7 APIs including `d3.stack`, `d3.scaleBand`, `d3.scaleLinear`, and `d3.axisBottom` to create the horizontal bars. A custom tooltip, styled via CSS, reveals the specific category and sales value when hovering over a segment. The chart includes labeled axes and a legend positioned to the right.