Skip to main content
100%

Activity6_ques2

✓ Published0🌍 Public
Kkbhavithareddy06@gmail.com
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from HTML Starter

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 description
MIT Licensed

Similar vizzes