Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity 6_Task 2

Public visualization

Viewing a saved revision (read-only)

5a288af8b6d34df2a6b2eab2d5726df5

Fork of Activity 6_Task 2

0 stars0🌍 Public
Aanusha.chilkamarri26@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Activity 6_Task 2

A stacked horizontal bar chart displays IMDb rating percentages across six genres, with each bar segmented by five rating ranges from below 5.0 to above 8.5. The visualization uses D3 v7 with `d3.stack()` to generate the stacked series and `d3.scaleOrdinal` for color encoding. A custom tooltip, configured on mouse events, reveals the exact percentage for each genre-rating combination, while axes are rendered using `d3.axisLeft` and `d3.axisBottom`. The data comes from a CSV file with precomputed proportions.

AI-generated description