Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question2

Public visualization

Viewing a saved revision (read-only)

a32d690a2c0a40a8b11b5020f327e6b6

Activity6_Question2

0 stars5🌍 Public
Jjayanthbalina@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from IMDb Movie ratings

This stacked bar chart displays the proportion of IMDb ratings across five categorical groups, showing how category influences rating distributions. Each horizontal bar is segmented by rating bands from “below 5.0” to “above 8.5,” with colors assigned via `d3.scaleOrdinal`. The visualization uses `d3.stack` to compute stacked segments, `d3.axisBottom` for the percentage x-axis, and `d3.axisLeft` for category labels. Hovering over a segment triggers a tooltip that reveals the exact percentage for that rating level within the category, based on the provided data.csv.

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