Viewing a saved revision (read-only)
34728176efa04d0c83506380ea3f4495
Fork of Activity 6 q3
This example presents a stacked bar chart illustrating population distribution across age brackets for several U.S. states, with each bar segmented by age group and colored using a categorical scale. The visualization is rendered as an SVG using D3.js (v3.5), with population values loaded from a local CSV file. Users can hover over individual bar segments to see a tooltip displaying the specific age group and its population count. The chart sorts states by total population and includes axis labels, demonstrating D3's core APIs for data binding, scales, and SVG rendering.
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%.