Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Activity6_Task2

0 stars1🌍 Public
Rramsrinivaskatragadda@my.unt.edu
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This stacked bar chart shows the distribution of IMDb movie ratings across six genres, with each bar divided into five rating categories from "below 5.0" to "above 8.5." Each genre’s row represents the percentage proportion of movies falling into each rating band, normalized to sum to one. Built with D3 v7, the visualization uses `d3.stack()` to compute the stacked series, `d3.scaleLinear()` for the percentage axis, `d3.scaleBand()` for genre categories, and `d3.scaleOrdinal()` with a five-color palette. Interactive tooltips display the exact percentage per category on hover, while SVG rendering handles all graphical output.

AI-generated description

Visualization of data.csv file in stacked bar graph.

Comments

Sign in to join the discussion.

MIT Licensed