Skip to main content
100%

Fork of tutorial2

✓ Published0🌍 Public
NNita
Last edited Mar 31, 2024
Created on Mar 31, 2024
Forked from tutorial2

A stacked bar chart displays the percentage distribution of five IMDb rating levels across six movie genres, with each bar segment colored by rating category and hover tooltips revealing exact percentages. The visualization uses D3 v7's `d3.stack()` to compute stacked series, `d3.scaleLinear` and `d3.scaleBand` for axes, and `d3.scaleOrdinal` for color mapping. Rendered as SVG from a CSV dataset, the chart also includes a legend and axis labels, with hover interactions managed via D3 event handlers.

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