Skip to main content
100%

Activity6_Task2.1

✓ Published0🌍 Public
Ssaibharath7thota@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Activity6_Task2

This stacked bar chart displays the percentage distribution of movie ratings across different cartoon genres, with each bar segmented by rating categories such as "below 5.0" or "8.0-9.0." Hovering over a segment reveals the exact percentage for that genre and rating level via a tooltip. The visualization uses D3.js v7 with the `d3.stack`, `d3.scaleOrdinal`, and `d3.scaleLinear` APIs to compute and render the stacked bars as SVG rectangles, while `d3.axisBottom` and `d3.axisLeft` generate the axes. Data is loaded from a CSV file containing genre and rating percentage values.

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