Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question2

Public visualization

Activity6_Question2

0 stars1🌍 Public
AAnilreddyveeraiahgari@my.unt.edu
Last edited Apr 4, 2025
Created on Apr 4, 2025
Forked from Activity6_Task2

This stacked horizontal bar chart shows the percentage distribution of IMDb movie ratings across six genres, broken into five rating brackets from “below 5.0” to “above 8.5.” The code uses D3 v7’s `d3.stack()` to create the stacked segments, `d3.scaleBand()` for the genre axis, and `d3.scaleLinear()` for the percentage axis. A tooltip appears on mouseover, displaying the exact percentage for each genre-rating combination. Data is loaded from a CSV file, and the SVG rendering includes a color legend for the rating categories.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed