Fork of Hello Vizhub
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 descriptionThe 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%