Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of tutorial2 task 7

Public visualization

Fork of tutorial2 task 7

0 stars0🌍 Public
Kkaushikreddy901@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from tutorial2 task 7

This stacked bar chart shows the percentage distribution of IMDb movie ratings across five genres, with each genre’s bars broken into five rating categories from below 5.0 to above 8.5. Hovering over a bar segment reveals its exact percentage via a tooltip. The visualization uses d3.csv to load the data and d3.stack for the stacked layout, with d3.scaleOrdinal for colors and d3.scaleBand for the genre axis. SVG elements render the chart, and mouse events control tooltip visibility.

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

Comments

Sign in to join the discussion.

MIT Licensed