Activity6_Question2_Rashmitha
This stacked bar chart visualizes the percentage of salary ranges across three job positions—Clerk, Associate, and Manager—using data from Salary.csv. D3 v7 renders the chart as SVG, with each bar segment colored by salary category and scaled proportionally along a linear x-axis. The tooltip appears on mouseover, showing the exact percentage of each salary range within a position, computed via d3.format and d3.stack. The y-axis uses d3.scaleBand to separate positions, while the legend and axis labels clarify the mapping.
AI-generated descriptionThe impact of genre on movie ratings
This stacked bar chart gives the percentage of each rating level within different movie genres. The aim is to show the impact of genre on movie ratings. When the mouse hovers over each bar, you can see pop-ups of accurate percentage of each rating level within each genre. Total percentage is 1, representing 100%.