try
✓ Published1🌍 Public
A stacked horizontal bar chart displays the distribution of product ratings across six cosmetics brands, with each bar segmented into five rating categories from "below 5.0" to "above 8.5." The chart uses SVG rendering with D3 v7, employing `d3.stack()` to compute the stacked series, `d3.scaleBand` for the categorical y-axis, and `d3.scaleLinear` for the percentage x-axis. Mouseover interactions reveal tooltips with precise percentage values for each brand and rating segment. Data comes from a CSV file loaded with D3’s data parsing.
AI-generated descriptionMIT Licensed