Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

8840b6df7b8f4b3990cfb64d6cc0c1d5

Fork of Hello VizHub

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

A stacked bar chart displays the percentage distribution of IMDb ratings across six movie genres, with each genre's bar segmented into five rating categories. The visualization reveals that action films have the highest proportion of low ratings, while documentaries skew toward higher ratings. Built with D3 v7 and rendered as SVG, the chart uses d3.stack() to compute stacked segments, d3.scaleOrdinal() for color encoding, and hover interactions with tooltips to display precise percentages. Data comes from a local CSV file containing genre-specific rating proportions.

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