Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Task 2

Public visualization

Viewing a saved revision (read-only)

9f045eb4a320464da083a90111bb0382

Activity 6 Task 2

0 stars0🌍 Public
RRukmini Devi Y
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from D3 Transitions

This stacked bar chart displays the distribution of movie ratings across six genres, breaking down each genre’s percentage into five rating categories from “below 5.0” to “above 8.5.” Using D3 v7 and SVG rendering, the code applies `d3.stack`, `d3.scaleOrdinal`, `d3.scaleLinear`, and `d3.scaleBand` to construct the bars, while `d3.axisBottom` and `d3.axisLeft` handle axes. Interactive hover effects via tooltips show exact percentages with `d3.format`, and a legend clarifies color mapping for each rating category.

AI-generated description

Explore the coolness of D3 Transitions!