Skip to main content
100%

Activity 6 Question 2

✓ Published0🌍 Public
Jjaswanthreddy2000@gmail.com
Last edited Apr 6, 2024
Created on Apr 6, 2024
Forked from Activity 6 Task 2

This stacked bar chart shows the percentage distribution of six rating categories within each of six food categories, revealing how genre influences rating outcomes. Mouse hover actions highlight individual bar segments and display exact percentages via tooltip pop-ups. The visualization uses d3.stack() to generate stacked series, d3.scaleOrdinal() for color mapping, d3.scaleLinear() and d3.scaleBand() for axes, and d3.axisBottom() for the percentage axis, rendering in SVG with data from a CSV file.

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