{"version":"1.0","type":"rich","title":"1116东北crosswalk堆叠图","description":"This example visualizes a stacked bar chart of traffic categories—pedestrians, non-motorized vehicles, and motor vehicles—across a single crosswalk lane. A stacked series shows each category’s count as a colored segment, with the total height representing the overall value. The visualization uses D3 v6’s `d3.stack()` to transform the data into stacked series, `d3.scaleBand()` for the categorical x-axis, and `d3.scaleLinear()` for the y-axis. It renders as an SVG, with a custom legend built from D3 selections and color mapping via `d3.scaleOrdinal()` with `d3.schemeSet3`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/322573f5d70b49b7820232555472aaf0?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}