Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 8_Q2.3

Public visualization

Viewing a saved revision (read-only)

7ee1784c57f642ec818d60324ab0050e

Activity 8_Q2.3

0 stars0🌍 Public
UUthkarsh Reddy Junuthula
Last edited Apr 11, 2024
Created on Apr 11, 2024

A stacked bar chart shows the proportional regional sales distribution for four gaming platforms: PC, PlayStation, Xbox, and Nintendo Switch, with each bar totaling 100%. The visualization uses D3 v7 to load CSV data and render SVG elements, employing `d3.stack()` to create stacked series, `d3.scaleLinear` for the x-axis, and `d3.scaleBand` for the categorical y-axis. Interactive tooltips display exact percentages on hover, while a legend and axis labels clarify the chart's meaning.

AI-generated description

The impact of genre on movie ratings

The above stacked bar chart shows the percentage of each rating category in different movie genres with the goal of demonstrating how genre affects movie ratings. As we move out cursor onto any of the bars, a pop-up appears with the exact percentage of each rating category for every genre. The total percentage is represented by the number 1, which is 100%.