Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2 que 2

Public visualization

Viewing a saved revision (read-only)

00cddd4d2feb4029892778bd7ec57fb1

Activity6_Task2 que 2

0 stars0🌍 Public
Ggouthamigongidi2457@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity6_Task2

This stacked bar chart shows the genre distribution of famous Indian singers, with each bar representing an artist and segments showing proportions of Bollywood, Classical, Pop, Folk, Sufi, EDM, and Rap. The chart uses d3.stack() to create the stacked segments, d3.scaleLinear for the x-axis, d3.scaleBand for the y-axis, and d3.scaleOrdinal for color encoding. Hovering over a segment reveals the exact percentage for that genre, as demonstrated by Arijit Singh's Bollywood dominance or Badshah's Rap and EDM focus. The data comes from data.csv, rendered as SVG with interactive tooltips.

AI-generated description

The impact of genre on movie ratings

This stacked bar chart gives the percentage of each rating level within different movie genres. The aim is to show the impact of genre on movie ratings. When the mouse hovers over each bar, you can see pop-ups of accurate percentage of each rating level within each genre. Total percentage is 1, representing 100%.