Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity6_Task2_Question 2-3

Public visualization

Viewing a saved revision (read-only)

7ac1109159a44736aa7866b18b5bf77d

Fork of Activity6_Task2_Question 2-3

0 stars0🌍 Public
Kkondaveeti.bhargavi7780@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Activity6_Task2

This stacked bar chart visualizes IMDb movie ratings across six genres, showing the percentage distribution of ratings within five score ranges (below 5.0 to above 8.5). The chart uses a horizontal layout with genres on the y-axis and percentage on the x-axis, employing d3.stack() to create stacked segments and d3.scaleOrdinal() for color encoding. Interactive tooltips display exact percentages on mouse hover, implemented through D3 event handlers. Data comes from a CSV file with pre-calculated proportions per genre. The visualization is rendered as SVG using D3 v7.

AI-generated description

A demonstration of how to start using D3 version 6.