Skip to content

spec: add marimekko-basic specification#1021

Merged
github-actions[bot] merged 1 commit intomainfrom
specification/marimekko-basic
Dec 15, 2025
Merged

spec: add marimekko-basic specification#1021
github-actions[bot] merged 1 commit intomainfrom
specification/marimekko-basic

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

New Specification: marimekko-basic

Closes #1002


specification.md

marimekko-basic: Basic Marimekko Chart

Description

A Marimekko chart (also called mekko or mosaic plot) is a stacked bar chart where both the width and height of segments represent data values. This visualization shows two categorical dimensions simultaneously with proportional areas, making it ideal for understanding how parts relate to wholes across categories of different sizes.

Applications

  • Market share analysis across segments of varying market sizes
  • Product mix visualization by customer segment or region
  • Revenue breakdown by region and product line
  • Cross-tabulation data where both dimensions matter equally

Data

  • x_category (categorical) - Categories determining bar widths (e.g., market segments, regions)
  • y_category (categorical) - Categories within each bar for stacking (e.g., products, brands)
  • value (numeric) - Values determining segment sizes; bar width proportional to column total, segment height proportional to share within column
  • Size: 3-7 x-categories, 2-5 y-categories typical for readability
  • Example: Market share data with regions as x-categories and product lines as y-categories

Notes

  • Bar widths should be proportional to the total value of each x-category
  • Segment heights within each bar show the proportion of each y-category
  • Area of each segment represents the actual value (width x height proportion)
  • Color coding should distinguish y-categories clearly with a legend
  • Consider adding value labels on larger segments for readability
  • X-axis can show category names centered under each variable-width bar

Next: Add approved label to the issue to merge this PR.


🤖 spec-create workflow

@MarkusNeusinger MarkusNeusinger added the approved Approved for implementation label Dec 15, 2025
@github-actions github-actions Bot merged commit 0c99f4a into main Dec 15, 2025
5 checks passed
@github-actions github-actions Bot deleted the specification/marimekko-basic branch December 15, 2025 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Approved for implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[marimekko-basic] Basic Marimekko Chart (Mosaic Plot)

1 participant