{"version":"1.0","type":"rich","title":"Activity-6 Question-2","description":"This example presents a stacked bar chart of city ratings, showing the percentage distribution across rating categories (from below 4.0 to above 8.0) for 19 U.S. cities. The visualization uses a horizontal layout with a color-mapped legend on the right. Built with D3 v7, the code loads data from a CSV file via `d3.csv` and employs `d3.stack()` to compute the stacked segments, `d3.scaleBand()` for the y-axis city categories, and `d3.axisBottom()` for the x-axis. Interactive tooltips appear on mouseover, displaying the exact percentage for each rating segment.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b9c0053519a14e34b5e269e8f739e5b7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}