Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ACTIVITY2_R

Public visualization

Viewing a saved revision (read-only)

62162067cef24b0bbb0e497e5452f15b

ACTIVITY2_R

0 stars0🌍 Public
RRevanth putta
Last edited Nov 12, 2025
Created on Nov 12, 2025
Forked from Hello VizHub

This horizontal stacked bar chart visualizes the distribution of IMDb movie ratings across six genres, with each bar segmented into five rating categories from “below 5.0” to “above 8.5.” The chart uses d3.stack() to compute the stacked data and d3.scaleBand for the categorical y-axis, while d3.scaleLinear maps the percentage values. D3 v7 appends SVG rectangles for each segment, with mouseover tooltips displaying the exact percentage per rating category. The data comes from a CSV file loaded via d3.csv, and the chart includes custom color scales and axis labels.

AI-generated description