Skip to main content
100%

activity6_ques2

✓ Published0🌍 Public
Kkbhavithareddy06@gmail.com
Last edited Apr 2, 2025
Created on Apr 2, 2025
Forked from Hello VizHub

A stacked bar chart visualizes the distribution of movie genres across years. It shows the contribution of Action, Drama, Comedy, Horror, and SciFi categories to the total number of movies per year from 2015 to 2019. The code uses `d3.stack()` and `d3.scaleOrdinal` to separate genre segments, while `d3.scaleBand` and `d3.scaleLinear` position the bars on the axes. The chart renders as an SVG, with data derived from a local CSV file.

AI-generated description
MIT Licensed

Similar vizzes