Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity6_ques2

Public visualization

Viewing a saved revision (read-only)

64738960b9434190a0ef0942159ecaa4

activity6_ques2

0 stars0🌍 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