Skip to main content
100%

Fork of IMDb Movie ratings

✓ Published0🌍 Public
Llikhithakarunakarreddym@gmail.com
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from IMDb Movie ratings

This stacked bar chart shows the distribution of IMDb ratings across movie genres, with each bar segment representing the percentage of ratings within five score ranges. Hovering over a segment reveals the exact percentage via an HTML tooltip. The visualization uses D3 v7’s `d3.stack`, `d3.scaleOrdinal`, `d3.scaleLinear`, and `d3.scaleBand` to generate the SVG bars, axes, and legend. Data is loaded from a CSV file using `d3.csv`, and the chart includes interactive mouseover and mouseout events for tooltip display.

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

MIT Licensed

Similar vizzes