{"version":"1.0","type":"rich","title":"Activity 6 task2 ","description":"This example shows the distribution of IMDb movie ratings across six genres, using a stacked horizontal bar chart where each bar segment represents the percentage of movies within a rating range. The visualization includes an interactive tooltip that displays the exact percentage for each genre and rating category on hover. The implementation uses D3 v7 with SVG rendering, leveraging `d3.stack()` for data stacking, `d3.scaleBand()` and `d3.scaleLinear()` for positioning, and `d3.scaleOrdinal()` with a custom color palette for rating categories. The data is loaded from a local CSV file with pre-calculated percentage values.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b71a2383999c4568a2be2adc01321587?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}