Skip to main content
100%

Fork of Stacked Movie ratings

✓ Published1🌍 Public
Vvishu.valandas@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024

This stacked bar chart visualizes the percentage distribution of movie ratings across different genres, with each bar segmented by rating level. The chart uses a horizontal layout where genre categories are on the y-axis and percentages on the x-axis, with hover interactions displaying exact values via tooltips. The visualization is built with D3.js v7, using `d3.scaleOrdinal` for color mapping, `d3.scaleBand` for y-axis positioning, and `d3.axisBottom` for the x-axis. Data is processed through `d3.stack` to create the stacked segments, and SVG is used for rendering.

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