1116东北基础设施堆叠图
✓ Published1🌍 Public
This visualization shows the composition of pedestrian, non-motorized vehicle, and motorized vehicle counts for a single road lane, with each category stacked as a colored segment. The chart uses D3 v6’s `d3.stack()` to generate stacked series, rendered as SVG rectangles via a data join. Axes are drawn with `d3.axisLeft` and `d3.axisBottom`, while a categorical color scale from `d3.scaleOrdinal` with `d3.schemeSet3` distinguishes the three transport modes. The fixed SVG size and margins are set explicitly in the markup, and the data is hardcoded rather than loaded from an external file.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed