{"version":"1.0","type":"rich","title":"Activity-6 Task-3","description":"This example visualizes the distribution of vegetable pH ratings across five categories, from below 5.0 to above 8.5, using a horizontal stacked bar chart. Each bar represents a vegetable, with segments colored by pH range and a tooltip showing the exact percentage on hover. The code loads D3 v7 via UNPKG, uses `d3.stack()` to compute stacked series, `d3.scaleOrdinal` for color mapping, and `d3.axisBottom` with gridlines for the percentage axis. Data comes from the included `data.csv` file, and the SVG rendering is driven by D3’s data-join pattern.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2a0a67c41c1d4987989169f62023936a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}