Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_tutorial2

Public visualization

Viewing a saved revision (read-only)

bfa61cc8fbc84fc48e3e976abf982cfc

Activity6_tutorial2

0 stars0🌍 Public
Vvenkatdinesh5010@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Hello VizHub

This stacked bar chart visualizes the distribution of IMDb ratings across six movie genres, showing the proportion of films falling into five rating brackets from "below 5.0" to "above 8.5." Each bar represents a genre, segmented by rating category with distinct colors. The visualization uses d3.stack() to compute the stacked segments, d3.scaleBand for the categorical y-axis, and d3.scaleLinear for the percentage x-axis. Hover interactions highlight individual segments and display a tooltip with the exact percentage, computed from the pre-aggregated proportions in the CSV data.

AI-generated description