Viewing a saved revision (read-only)
b6b5aab076914e2b953821d833f23bf7
Fork of Activity6_Q2.3
This stacked bar chart visualizes the Iris dataset, showing the distribution of four flower measurements (sepal and petal length/width) across three species. The visualization uses the d3.stack generator to create the layered bar segments, with d3.scaleBand and d3.scaleLinear handling the categorical and continuous axes respectively. Each species group displays four colored segments corresponding to the measurement variables, rendered as SVG rectangles within the D3.js v6 framework. The chart is interactive only through standard browser zoom, with axis labels and tick marks formatted using D3's axis functions.
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%.