🌍 Public
Viewing a saved revision (read-only)
12a534855c4646d88c84bafe9b8dc430
Activity6_Task2
This stacked bar chart visualizes the percentage distribution of genre ratings (Action, Comedy, Drama) across four movies, with the title “Rating according to genres.” Using D3 v7, the code reads CSV data, applies a linear x-scale for percentages and a band y-scale for movie names, and renders SVG rectangles via `d3.stack()`. A tooltip displays the exact rating percentage for each genre segment on mouseover, while a legend and axis labels clarify the grouping.
AI-generated description