Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

task 2

Public visualization

Viewing a saved revision (read-only)

dbd8e957d1a942e7afe6a2f2544588f9

task 2

0 stars0🌍 Public
GGanesh Gundekarla
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

This example shows the distribution of IMDb ratings across thirteen movie genres, with each genre’s ratings divided into five percentage-based categories. A stacked horizontal bar chart displays the proportions, using color to distinguish rating bands. The visualization is built with D3 v7 and rendered as SVG. The code uses d3.stack to compute the stacked layout, d3.scaleBand for the categorical y-axis, and d3.scaleLinear for the x-axis, with mouseover events triggering a tooltip that shows the exact percentage for each segment.

AI-generated description