Activity6_Question2
This stacked bar chart visualizes the distribution of music genre affinities for Tollywood singers, with each bar segment representing the percentage of a singer's connection to genres like Bollywood, Classical, Pop, Folk, Sufi, and Rap. The visualization uses d3.stack() to compute stacked segments, d3.scaleBand() for the categorical singer axis, and d3.scaleLinear() for the percentage scale. Mouseover interactions trigger opacity changes and a tooltip that displays the exact percentage for each genre-singer combination, with colors assigned via d3.scaleOrdinal(). The chart derives its data from the provided CSV dataset, rendering as an SVG.