Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6-Question2-upd

Public visualization

Viewing a saved revision (read-only)

107431f89722445db0d2acb2eaf373d8

Activity6-Question2-upd

0 stars0🌍 Public
Mmeenam1106@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Activity6-Task2

This stacked horizontal bar chart visualizes the distribution of ratings across five streaming platforms, showing the percentage of content falling into each rating bracket from below 5.0 to above 8.5. The chart uses d3.stack() to compute the stacked segments, with d3.scaleBand for the categorical y-axis and d3.scaleLinear for the percentage x-axis. Tooltips provide exact percentage values on mouseover, and a color-coded legend identifies each rating category. The data originates from a CSV file listing OTT platforms and their rating proportions.

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