{"version":"1.0","type":"rich","title":"Question-2_Task-2","description":"This stacked bar chart shows the distribution of movie ratings across six genres, with each bar segment representing the percentage of films falling into one of five rating categories. The visualization uses a horizontal stacked bar layout, where hovering over a segment displays the exact percentage via a tooltip.\n\nThe chart is built with D3 v7, using `d3.stack()` to create the stacked data structure and `d3.scaleOrdinal()` for color encoding. SVG rectangles are rendered for each segment, with `d3.axisBottom()` and `d3.axisLeft()` providing the axes. The dataset is loaded from a CSV file containing genre and rating percentage columns.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/091cfa11c4d44683ba71bcd628fb1376?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}