Skip to main content
100%

Activity_6_Question_2

✓ Published0🌍 Public
AAbrarb702@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity_6_Task_2

This stacked bar chart visualizes the distribution of rating categories within different subjects, showing how each subject’s marks are proportionally divided across five bins (e.g., below 35, 36-45, up to 75-100). It uses `d3.stack` to layer the rating proportions per subject on the y-axis, with a linear x-axis representing percentages. Interactive hover events display a tooltip for precise percentage values. The chart is rendered as SVG and relies on `d3.axisBottom` for the x-axis, `d3.axisLeft` for the y-axis, and a custom `d3.select`-based tooltip, with styling via CSS.

AI-generated description

The impact of genre on movie ratings

This stacked bar chart gives the percentage of each rating level within different movie genres. The aim is to show the impact of genre on movie ratings. When the mouse hovers over each bar, you can see pop-ups of accurate percentage of each rating level within each genre. Total percentage is 1, representing 100%.

MIT Licensed

Similar vizzes