Viewing a saved revision (read-only)
abe8df01577c4f93bd861ae7245969b5
Activity6-Question2-upd
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 descriptionThe 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%.