Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_6 Question_2

Public visualization

Viewing a saved revision (read-only)

11d76768fbf34e328e133c1be57d09df

Activity_6 Question_2

0 stars0🌍 Public
Ccherrylmarym@gmail.com
Last edited Apr 6, 2024
Created on Apr 5, 2024

This visualization shows the percentage distribution of movie ratings across six categories, from “Below 5” to “Above 9,” for six films. Each horizontal bar is a stacked representation of the proportion of ratings per film. The code uses D3.js v7 with SVG rendering, employing `d3.stack()` to compute the stacked segments and `d3.scaleLinear` and `d3.scaleBand` for positioning. A tooltip displays the exact percentage of each rating category on hover, and a legend identifies the rating bands. The data derives from the provided CSV file.

AI-generated description

are finding the rating percentage for each films