Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Activity6_Task2

0 stars0๐ŸŒ Public
Ggnitishreddy0245@gmail.com
Last edited Oct 21, 2024
Created on Oct 21, 2024

This stacked bar chart visualizes the distribution of IMDb movie ratings across six genres, with each bar segment representing the proportion of films within rating brackets from below 5.0 to above 8.5. The chart uses d3.stack() to compute stacked series and d3.scaleOrdinal for color mapping. Interactive mouseover events update a tooltip displaying the exact percentage for each genre-rating combination, while d3.axisBottom and d3.axisLeft provide labeled scales. Data is loaded from a CSV file using d3.csv.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed