Activity6_Task2-Question3
This stacked bar chart visualizes the first 30 days of Delhi climate data, showing how the daily values for mean temperature, humidity, wind speed, and mean pressure contribute to a total for each day. The code uses `d3.csv` and `d3.autoType` to load the data, then employs `d3.stack` and `d3.scaleBand` with a color ordinal scale to render the stacked rectangles in an SVG. It uses `d3.axisBottom` and `d3.axisLeft` for the axes, with a manually positioned legend.
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%.