Skip to main content
100%

Activity 7_Q2

✓ Published0🌍 Public
KKrishna.
Last edited Nov 2, 2025
Created on Nov 2, 2025
Forked from Activity 7_Q1

A stacked area chart displays ratings by genre, with the x-axis ordered by each genre's total count and the y-axis showing the count. The chart uses D3 v7's `d3.stack` to layer the rating categories G, PG, PG-13, and R, with an SVG rendering approach. Data is loaded from a CSV via `d3.csv` and `d3.autoType`, while color encoding uses `d3.scaleOrdinal` with `d3.schemeSet2`. Interactive tooltips appear on hover, showing the rating and count for each genre segment.

AI-generated description
MIT Licensed

Similar vizzes