Skip to main content
100%

Activity6_Task_1

✓ Published0🌍 Public
Sshaikfiroze186@gmail.com
Last edited Apr 11, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This stacked bar chart visualizes the percentage distribution of movie ratings across different genres, split into five rating levels from "Below 5.0" to "Above 8.5". The horizontal bars for each genre are subdivided into colored segments, with a legend identifying each rating category. The visualization is built with D3 v7, using `d3.scaleBand` and `d3.scaleLinear` for positioning, and an ordinal color scale for the rating segments. Data is loaded from a CSV file and rendered as SVG rectangles.

AI-generated description

The 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%.

MIT Licensed

Similar vizzes