Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Tutorial2_Rashmitha

Public visualization

Viewing a saved revision (read-only)

3b45f432882744079eb2438aacfdfb09

Activity6_Tutorial2_Rashmitha

0 stars1🌍 Public
Rrashmithatanneru@gmail.com
Last edited Apr 2, 2024
Created on Apr 2, 2024
Forked from Hello VizHub

This stacked bar chart shows the percentage of movies in five rating categories across six genres, highlighting how genre influences IMDb ratings. The horizontal bars use color-coded segments to represent the proportion of ratings, while hovering reveals precise percentages via tooltips. Built with D3 v7, the visualization uses `d3.stack()` for data transformation, `d3.scaleOrdinal` for colors, and `d3.scaleBand` for the categorical axis, rendering as SVG with interactive mouse events for detail-on-demand.

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