1116西北crosswalk堆叠图
✓ Published1🌍 Public
This visualization displays a stacked bar chart of traffic counts for a single crosswalk lane, breaking down volumes into pedestrians, non-motorized vehicles, and motor vehicles. The single bar shows 119 pedestrians, 17 non-motorized vehicles, and 0 motor vehicles, with stacked segments colored via d3.schemeSet3. Built with D3 v6 and rendered as SVG, the code uses d3.stack(), d3.scaleBand(), d3.scaleLinear(), and d3.axisLeft/axisBottom to construct the chart. A separate HTML legend is generated using D3 selections with colored swatches. The example appears to derive from a crosswalk traffic study dataset.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed