Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task 2

Public visualization

Task 2

0 stars0🌍 Public
MMahimaChowdaryKasthala@my.unt.edu
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Hello VizHub

This stacked bar chart visualizes the distribution of IMDb movie ratings across six genres, with each bar segment representing the proportion of films falling into five rating categories. The code uses D3.js v7, specifically `d3.stack()` for stacking, `d3.scaleBand()` for the categorical y-axis, and `d3.scaleLinear()` for the quantitative x-axis. Data from `data.csv` is loaded via `d3.csv()`, rendered as SVG, and accompanied by a color-coded legend.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed