Activity6_ques2
✓ Published0🌍 Public
This visualization shows the distribution of movie ratings across different genres using a stacked horizontal bar chart. Each bar represents a genre, divided into colored segments that indicate the proportion of films falling into five rating bins, from "below 5.0" to "above 8.5." The chart uses a d3.scaleOrdinal for color encoding and d3.scaleBand for the categorical y-axis, with the data loaded from a CSV file. The code employs d3.csv, d3.select, and various join methods to efficiently render the SVG output.
AI-generated descriptionMIT Licensed