Skip to main content
100%

Activity6_task 2

✓ Published0🌍 Public
Ssagipavan2385@gmail.com
Last edited Apr 4, 2025
Created on Apr 3, 2025
Forked from Activity_6

This stacked bar chart visualizes the distribution of IMDb ratings across six movie genres, with each bar segmented into five rating ranges from below 5.0 to above 8.5. The chart uses a horizontal layout with percentage scales, enabling quick comparison of rating patterns between genres like Documentary and Action. Built with D3 v7, the visualization employs `d3.stack()` to compute stacked series, `d3.scaleBand` for the categorical y-axis, and `d3.scaleLinear` for the quantitative x-axis. Interactive tooltips, implemented through mouse events, display exact percentages for each rating segment on hover, with the data sourced from a CSV file.

AI-generated description
MIT Licensed

Similar vizzes