Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Viewing a saved revision (read-only)

4c7f3f43717149ae91787400791297dd

Activity6_Task2

0 stars0🌍 Public
Ssaishruthik2361@gmail.com
Last edited Oct 21, 2024
Created on Oct 21, 2024
Forked from Hello VizHub

This stacked bar chart visualizes IMDb movie ratings across six genres, showing the proportion of films in five rating brackets from below 5.0 to above 8.5. A tooltip displays the exact percentage for each rating segment on mouseover. Built with D3 v7, the visualization uses d3.stack() to compute the stacked series, d3.scaleBand for genre positioning, and d3.scaleLinear for percentage values, rendering as SVG with interactive hover effects that adjust opacity and reveal detailed data.

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