Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task 2 Anusha H

Public visualization

Viewing a saved revision (read-only)

35f2e2e1d78448f2b8f267e9e72405ac

Task 2 Anusha H

0 stars0🌍 Public
AAnushaHyderaboeni@my.unt.edu
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Hello VizHub

This chart shows the distribution of IMDb movie ratings across six genres, using stacked horizontal bars where each segment represents the proportion of movies falling into one of five rating bands (below 5.0 up to above 8.5). The code uses d3.stack to create the stacked series, d3.scaleBand for the categorical genre axis, and d3.scaleOrdinal with a custom color palette for the rating categories. The SVG rendering relies on D3 v7’s axis generators, and a custom tooltip displays the exact percentage for each segment on hover.

AI-generated description