Activity6_Task2
✓ Published0🌍 Public
This visualization shows a stacked bar chart of movie metrics by genre, comparing the relative counts of movies, average ratings, box office revenue, and awards won across seven genres like Thriller, Horror, and Science Fiction. The chart uses d3.stack() to create the layered bars and d3.scaleOrdinal() for color encoding, with d3.scaleBand() positioning genres along the y-axis and d3.scaleLinear() mapping cumulative values on the x-axis. Interactive tooltips display the specific genre and metric value on hover, while a legend identifies each color segment. The data is drawn from a static CSV file containing genre statistics.
AI-generated descriptionMIT Licensed