Skip to main content
Public

Share visualization

Loading preview…

Aadesh Question 2 Activity 6

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Aadesh Question 2 Activity 6

0
Aaadesh.pranesh@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Question 2 Aadesh

This stacked bar chart shows how rating levels distribute across six lifestyle categories, with each bar divided into segments representing the percentage of ratings below 5.0, 5.0–6.5, 6.5–7.5, 7.5–8.5, and above 8.5, summing to 100% per category. The chart uses d3.stack() to compute the stacked series, d3.scaleBand() for the categorical y-axis, and d3.scaleLinear() for the percentage x-axis. Hover interactions trigger a custom tooltip that displays the exact percentage for each rating segment. Data comes from a CSV file with pre-aggregated proportions, and the visualization is rendered as SVG using D3 v7.

AI-generated description

The impact of genre on movie ratings

The stacked bar chart presents the impact of different categories on the distribution of rating levels. Each bar represents a category, and the sections within the bars show the percentage of each rating level within that category. The total percentage across all rating levels within a category sums to 100%.

Comments

Sign in to join the discussion.

MIT Licensed