Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

1115东进口道堆叠图

Public visualization

Viewing a saved revision (read-only)

347020bcd80b4d41923c89e6ba58351c

1115东进口道堆叠图

0 stars2🌍 Public
Vvivianaaai@qq.com
Last edited Nov 15, 2023
Created on Nov 15, 2023

This stacked bar chart visualizes traffic composition across six lane IDs at an intersection, breaking down counts of pedestrians, non-motorized vehicles, and motor vehicles. The chart uses D3 v6’s `d3.stack()` with `stackOrderNone` to layer the three categories, while `d3.scaleBand` and `d3.scaleLinear` position bars and encode counts. Rendered as an SVG within a React framework, the visualization applies `d3.schemeSet3` for categorical colors and labels axes with `d3.axisLeft` and `d3.axisBottom`. Data includes lane 4 as the busiest, with mixed traffic, and lane 5 empty.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.