Hello VizHub
✓ Published0🌍 Public
A static value chain diagram classifies business activities into two categories: supporting and primary. Rows and columns of colored rectangles are labeled with activity names. D3 v5 builds the SVG with `data` joins and appended `rect` and `text` elements. A triangle symbol marks the margin between the two groups. A custom `wrap` function uses `getComputedTextLength` to break long labels across multiple `tspan` lines.
AI-generated descriptionMIT Licensed