{"version":"1.0","type":"rich","title":"Activity6-Question2","description":"This stacked bar chart shows the percentage distribution of five rating levels (from \"below 2.0\" to \"above 5.0\") across ten chocolate brands, revealing how each brand’s ratings are spread. The chart uses a horizontal layout with a linear x-axis for percentages and a banded y-axis for genres, with each bar segment color-coded by rating level. Written in D3 v7, it relies on `d3.stack` to generate stacked data, `d3.scaleOrdinal` for colors, and `d3.axisBottom` and `d3.axisLeft` for axes. Interactive tooltips display exact percentages on mouseover, using D3’s selection and event handling. Data comes from a local CSV file.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5bd6c09914a94968a80fd6704210c908?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}