Skip to main content
100%

Activity6_Task2

✓ Published0🌍 Public
Kkoushikkumarreddykoorapati@my.unt.edu
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

This visualization uses a stacked horizontal bar chart to compare IMDb rating distributions across six film genres, with each bar segmented into five rating brackets from "below 5.0" to "above 8.5". The chart reads percentages along the x-axis and genres along the y-axis, enabling quick comparison of how ratings cluster differently by genre. The implementation uses d3.stack to compute stacked segments, d3.scaleBand for the categorical y-axis, and d3.scaleLinear for the continuous x-axis. The SVG renders interactive tooltips on mouseover that display the exact percentage for each rating segment. The transparent background and custom color scale help distinguish the five rating categories.

AI-generated description
MIT Licensed

Similar vizzes