Skip to main content
100%

Activity_6 Question_2

✓ Published0🌍 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

MIT Licensed

Similar vizzes