Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity6_question2.1

Public visualization

Viewing a saved revision (read-only)

fe8ec16cc7f149dc8ed8898df953a2ef

No content available for this visualization.

activity6_question2.1

0 stars0🌍 Public
Sshreshikaveerannagari@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025

A stacked bar chart displays the distribution of IMDb ratings across six movie genres, with the x-axis showing the proportion of ratings within each of five score ranges from below 5.0 to above 8.5. The chart uses a horizontal layout where each genre’s bar is composed of color-coded segments that sum to 100 percent. The visualization is built with D3.js v7, using `d3.stack()` to compute the stacked values, `d3.scaleBand` for the genre categories, and a linear scale for the percentage axis. The data is loaded from a CSV file, with genre names mapped to the y-axis and a legend identifying each rating range.

AI-generated description