Quadrant charts: axes and quadrants
简介 / Introduction
Quadrant charts divide the plotting area into four regions by two dimensions, commonly used for urgency vs importance, or effort vs impact analysis. This article covers how to draw quadrant charts in both PlantUML and Mermaid, including axis labels, quadrant fills, and label positioning.
PlantUML 版
PlantUML uses the salt renderer to simulate quadrant charts with grid cells and background colors:
1 | @startuml |
PlantUML has no native quadrant coordinate system, but salt grid with colored cells can approximate the layout.
Mermaid 版
Mermaid v10+ supports quadrantChart for direct quadrant visualization with axes:
1 | quadrantChart |
对比 / Side-by-side
| Feature | PlantUML | Mermaid |
|---|---|---|
| Real axes | ❌ Custom only | ✅ quadrantChart native |
| Quadrant labels | ✅ Colored grid cells | ✅ quadrant-N directive |
| Data points | ❌ Not supported | ✅ A: [x, y] form |
| Axis labels | ❌ Manual text | ✅ x-axis / y-axis |
小结 / Wrap-up
Mermaid’s quadrantChart is the most straightforward way to draw quadrant charts, supporting axes, quadrant labels, and data points. PlantUML’s salt grid can approximate a basic quadrant layout for scenarios that don’t need data points.
- Title: Quadrant charts: axes and quadrants
- Author: puml.online
- Created at : 2026-09-22 01:00:19
- Updated at : 2026-09-29 01:06:38
- Link: https://puml.online/blog/quadrant-chart-axes-en/
- License: This work is licensed under CC BY-NC-SA 4.0.