Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

activity6_task2_11719493

Public visualization

activity6_task2_11719493

0 stars0๐ŸŒ Public
Ssravani1969@gmail.com
Last edited Mar 29, 2025
Created on Mar 29, 2025

A stacked horizontal bar chart shows the distribution of IMDb movie ratings across six genres, with each bar divided into five rating buckets from below 5.0 to above 8.5, expressed as percentages. The visualization uses D3 v7 with an SVG rendering, employing `d3.stack()` to compute the stacked series, `d3.scaleBand` for the genre categories, and `d3.scaleLinear` for the percentage axis. Interactive tooltips, styled via CSS, display exact percentage values on mouseover, while the legend indicates rating categories and the title labels the chart as "Rating according to genres."

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed