Skip to main content
100%

Activity6_Task2_Tutorial

✓ Published2🌍 Public
Oorusushanth2002@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025

This stacked bar chart shows the distribution of movie ratings across six genres, breaking down each genre’s percentages into five rating categories from "below 5.0" to "above 8.5." The visualization uses D3 v7’s `d3.stack` and `d3.scaleBand` to create the horizontal stacked bars, with a custom tooltip revealing precise percentage values on mouseover. Data is pulled from a CSV file containing proportional genre-rating combinations. The chart is rendered as SVG, with axis labels and a legend styled via external CSS, and uses `d3.scaleLinear` for the percentage axis.

AI-generated description
MIT Licensed

Similar vizzes