{"version":"1.0","type":"rich","title":"Fork of Activiy6_question2","description":"This stacked bar chart visualizes how movie genres relate to rating distributions, showing the proportion of each rating category within genres like Pop, Rock, and Jazz. The horizontal bars represent genres, with segments colored by rating level and a tooltip displaying exact percentages on hover. Built with D3 v7, the code uses `d3.stack()` to compute the stacked segments, `d3.scaleBand` for the genre axis, and `d3.scaleLinear` for the percentage scale. Data comes from a static CSV file, and SVG rendering handles the visualization with an interactive tooltip appended to the body.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b5c10fa426e24409b953ebb2d642c883?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}