Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_ques2

Public visualization

Activity6_ques2

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

Comments

Sign in to join the discussion.

MIT Licensed