Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_task2

Public visualization

Viewing a saved revision (read-only)

0ae5dbaed36f44a6ab2a7dfad4f77c8e

Activity6_task2

0 stars0🌍 Public
MMili Patel
Last edited Mar 29, 2025
Created on Mar 29, 2025

This stacked bar chart shows the distribution of IMDb movie ratings across six genres, broken into five percentage-based rating bands from “below 5.0” to “above 8.5.” Each horizontal bar represents a genre, with colored segments proportional to the share of movies in each rating category. Built with D3 v7, the visualization uses `d3.stack` to compute stacked segments, `d3.scaleOrdinal` for color mapping, and SVG rendering for the final output. The chart reads data from a CSV file and includes interactive tooltips that display the precise percentage for each segment on mouseover.

AI-generated description