Skip to main content
100%

Question2-3-Venkat

✓ Published0🌍 Public
VVENKATESWAR RAO CHINTA
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity6_Task2

This stacked bar chart shows the percentage distribution of chocolate brand ratings across five score bands (Below 3 to Above 6). Each horizontal bar represents a brand, with colored segments showing the proportion of ratings in each category. The visualization uses D3.js v7 to implement the layout, with `d3.stack()` for stacked bar construction, `d3.scaleLinear()` for the percentage axis, `d3.scaleBand()` for brand positioning, and interactive tooltips via mouse events. Data comes from the embedded `data.csv` file, rendered as SVG elements.

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