🌍 Public
Viewing a saved revision (read-only)
3bbb07b8721040f7af26cc0449d8b583
Activity6_Questn2
This stacked bar chart displays the distribution of public ratings across ten political topics, with each topic’s bar normalized to 100%. The visualization uses D3.js v7’s `d3.stack`, `d3.scaleBand`, and `d3.scaleLinear` APIs, rendering as SVG. Data is loaded from a CSV file, and each segment’s percentage is revealed via a tooltip on hover. The legend and color-coded segments clarify the five rating categories, from “very low” to “very high.” The chart employs ordinal color scales and axis labels to present the categorical proportions clearly.
AI-generated description