🌍 Public
Viewing a saved revision (read-only)
fc2f0f7430a4498a91adc848cc9c51c8
Activity6_2
This stacked bar chart visualizes the distribution of average movie ratings by genre, showing the percentage breakdown across five rating categories. The visualization uses d3.stack() to compute stacked series and d3.scaleOrdinal() for color encoding, with a tooltip revealing exact percentages on hover. The SVG rendering employs d3.axisBottom() with percentage formatting and a custom color palette, while a band scale positions genres vertically. Mouseover events trigger opacity changes and display the tooltip with formatted rating percentages.
AI-generated description