Skip to main content
100%

Activtiy-6-tutorial-2

✓ Published0🌍 Public
Sswapnadabburi@my.unt.edu
Last edited Oct 24, 2024
Created on Oct 24, 2024

A stacked bar chart displays the percentage of IMDb ratings within five genres (Documentary, Drama, Comedy, Romance, Animation, Action). The horizontal bars show the proportion of ratings across levels from "below 5.0" to "above 8.5," with hovering revealing precise percentages via tooltips. The visualization uses d3.stack, d3.scaleBand, d3.scaleLinear, and d3.axisBottom, rendering SVG elements. Data is loaded from a CSV file, and colors are assigned via d3.scaleOrdinal.

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