Skip to main content
Public

Share visualization

Loading preview…

IMDb Movie ratings

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

0
UUmarani Vemula
Last edited Jul 7, 2023
Created on Jul 3, 2023
Forked from Hello VizHub

This stacked bar chart displays the distribution of IMDb ratings across six movie genres, using five rating categories from "below 5.0" to "above 8.5". Each bar represents a genre and its segments show the percentage of movies in each rating bracket. The chart uses D3.js v7 with `d3.scaleOrdinal` for color mapping, `d3.scaleLinear` for the x-axis, and `d3.scaleBand` for the y-axis. Data is loaded from a local CSV file via `d3.csv`. Hovering over a segment triggers a tooltip showing the exact percentage.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed