Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activty6_Task2

Public visualization

Viewing a saved revision (read-only)

c7a095a0e16a4b3fac90c11b79c2f130

Activty6_Task2

0 stars0🌍 Public
Ssriharshithaanugu5@gmail.com
Last edited Mar 30, 2025
Created on Mar 30, 2025
Forked from Hello VizHub

A stacked horizontal bar chart shows the distribution of IMDb ratings across six film genres, with each bar divided into five rating brackets from below 5.0 to above 8.5. The chart reads percentages from a CSV file and renders them as proportional colored segments using D3 v7’s `d3.stack`, `scaleOrdinal`, `scaleLinear`, and `scaleBand` APIs. Mouseover interactions trigger tooltips displaying the exact percentage for each genre-rating combination. The visualization uses an SVG output with custom margins, axis labels, and a legend positioned to the right.

AI-generated description