Skip to main content
100%

IMDb Movie ratings

✓ Published0🌍 Public
Rrikhitakoganti12
Last edited Jul 3, 2023
Created on Jul 2, 2023
Forked from Hello VizHub

A stacked horizontal bar chart shows the distribution of IMDb ratings across six movie genres, with each bar segment representing the percentage of movies falling into rating bands from "below 5.0" to "above 8.5". The code loads CSV data via `d3.csv`, stacks series using `d3.stack`, and scales positions with `d3.scaleLinear` and `d3.scaleBand`. Interactive tooltips appear on mouseover via D3 event handlers. The visualization is rendered as SVG with a custom ordinal color scale and legend.

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.
MIT Licensed

Similar vizzes