Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Activity6-Task2

Public visualization

Activity6-Task2

0 stars1๐ŸŒ Public
Ssusarlasruthi2000@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Activity6-Task2

A stacked bar chart visualizes the percentage distribution of IMDb ratings across six movie genres, from documentary to action. Each bar segment represents a rating bracket, colored distinctly, with hover tooltips revealing exact percentages. Built with D3 v7, the visualization uses `d3.stack()` to compute layered data and `d3.scaleOrdinal` for color mapping, rendering bars in SVG with interactive mouse events for tooltip display.

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%.

Comments

Sign in to join the discussion.

MIT Licensed