Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

activity8_task2

Public visualization

activity8_task2

0 stars0๐ŸŒ Public
Ssaitejauppu0206@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from activity8_task

This stacked bar chart visualizes the distribution of IMDb movie ratings across six vehicle-themed genres, showing the proportional share of five rating categories from "below 3.0" to "above 7.0." The chart uses d3.stack() to aggregate the percentage data, d3.scaleBand for the vertical genre axis, and a linear x-scale for the percentage values. Hovering over any segment reveals an exact percentage via a tooltip, while opacity changes highlight the selected bar. The visualization is rendered as SVG with d3.v7, using ordinal color scaling to distinguish rating bands.

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