Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Hello Vizhub

Public visualization

Fork of Hello Vizhub

0 stars0๐ŸŒ Public
Ssusarlasruthi2000@gmail.com
Last edited Apr 5, 2024
Created on Apr 5, 2024

This stacked bar chart shows the percentage distribution of IMDb movie ratings across five cuisine categories, with rating levels from below 5.0 to above 8.5. Hovering over a bar segment displays its exact percentage via a custom tooltip. The visualization uses d3.stack() to generate stacked series, d3.scaleBand for category positions, and d3.scaleLinear for percentage values, rendered as SVG rects with color-coded segments and axes labeled in plain English. Data comes from a CSV file with proportions summing to 1 for each category.

AI-generated description

The impact of category on ratings

This stacked bar chart gives the percentage of each rating level within different categories. The aim is to show the impact of category on ratings. When the mouse hovers over each bar, you can see pop-ups of accurate percentages of each rating level within each category. The total percentage is 1, representing 100%

Comments

Sign in to join the discussion.

MIT Licensed