Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

IMDb Movie ratings

Public visualization

Viewing a saved revision (read-only)

76407f6e76a84a6686a51247769e4e56

IMDb Movie ratings

0 stars0🌍 Public
Hharsha
Last edited Jul 19, 2023
Created on Jul 19, 2023
Forked from Hello VizHub

A stacked horizontal bar chart visualizes the distribution of IMDb ratings across six film genres, with each bar segmented by five rating intervals from "below 5.0" to "above 8.5." The chart shows the proportion of films in each rating category per genre, using a categorical color scale. The visualization uses d3.stack() to compute stacked series, d3.scaleBand() and d3.scaleLinear() for positioning, and d3.axisBottom() for the percentage axis. Interactive tooltips display precise percentages on mouseover, while a legend indicates the rating categories. The data is loaded from a CSV file using d3.csv() and rendered as SVG.

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.