Skip to main content
100%

Activity6_Task2

✓ Published0🌍 Public
CChaitanya Ratan Sree
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

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
MIT Licensed

Similar vizzes