Quadrant Charts
What are Quadrant Charts?
Mermaid's Quadrant charts are a visual tool used to plot data points across two dimensions, divided into four quadrants. They help in analyzing data patterns and trends, and are widely used in business, marketing, and strategic decision-making. Each quadrant represents a distinct area of analysis, often defined by specific criteria relevant to the dataset.
Creating Your First Quadrant Chart
From the Code IDE, click Apps and Agents from the left-hand panel.
Select Mermaid. Paradime will automatically start a new Mermaid project.
In the terminal that appears, use the arrow keys to select "Quadrant Chart."
A new
quadrantChart.mmd
file will be created in your editor with this starter template:
Click the eye icon (👁️) in the top right corner of your Mermaid file to preview the diagram.
Edit and update your
.mmd
file as needed—the preview will update automatically.
Diagram Syntax Guide
Basic Syntax
Title: Describes the chart and appears at the top.
Axes: Label the x-axis and y-axis using descriptive text.
Quadrants: Assign text to each quadrant for categorization.
Points: Plot data points with values between 0 and 1 for both x and y.
Customizations
Add color, size, and styling to points:
Use classes for consistent styling:
Data Team Examples
Marketing Campaign Analysis
Task Prioritization
Best Practices
Use descriptive labels for quadrants and axes.
Plot only relevant data points to maintain clarity.
Add color coding or size variation for additional dimensions.
Keep quadrants evenly spaced and clearly labeled.
Adjust chart dimensions and styling as needed for readability.
Additional Resources
For more syntax options and advanced features, visit the official Mermaid documentation.
Last updated