Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Task 2

Public visualization

Activity 6 Task 2

0 stars0🌍 Public
NNithish Karanam
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Activity 6 Task 2

A stacked horizontal bar chart shows the percentage distribution of IMDb ratings across six genres, from documentary to action, with each bar divided into five rating brackets. The visualization uses D3 v7's `d3.stack()` to compute stacked series, `d3.scaleBand()` for the categorical y-axis, and `d3.scaleLinear()` for the percentage x-axis. Data from `data.csv` is loaded and rendered as SVG rectangles, with mouseover interactions that display exact percentages via tooltips.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed