Skip to main content
Public

Share visualization

Loading preview…

IMDb Movie ratings example

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

IMDb Movie ratings example

4
Hhelloelectro
Last edited Feb 8, 2023
Created on Feb 5, 2023
Forked from IMDb Movie ratings

This stacked bar chart shows the distribution of IMDb ratings across six movie genres, with each bar divided into five rating categories. The visualization emphasizes how genre influences rating outcomes, revealing that documentaries and dramas tend to receive higher ratings than action or comedy films. Hovering over any segment displays the exact percentage for that genre and rating level. The chart is built with D3.js v7, using `d3.stack()` to create the stacked segments, `d3.scaleBand()` for the categorical axis, and custom mouse event handlers for the interactive tooltips. Data comes from the included CSV file.

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

Comments

Sign in to join the discussion.

MIT Licensed