Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Viewing a saved revision (read-only)

30340b4b36be4b3c8fcf8d307c5eaf9b

Activity6_Task2

0 stars0🌍 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