JetBrains / JetBrains/lets-plot

Feature Request: Mekko Bar

Open
#1,307 0 comments 0 reactions 0 assignees View on GitHub
*
Dominant language
Kotlin
Stars
1.8k
Forks
60
PR merge metrics
No merged PRs in 30d

Description

## Mekko charts
Mekko charts are a very visually appealing alternative to scatterplots when the number of observations is small.

## Rationale
Although LetsPlot certainly has the tools to create them, the number of data transformations needed might make Mekko Bars a good addition to the Bistro Plots module.

## Expected inputs
Mekko charts take three inputs:
- Labels to use for the X axis.
- An X axis metric which needs to be accumulated up to the plot size. / Alternatively, the number of entries of the label is counted.
- An Y axis metric which behaves similar to how a bar chart would.

## Examples

### Q1 profit vs Q1 profit growth
![Image](https://github.com/user-attachments/assets/ad57af11-4b74-4f09-bdcd-b3f907fc4e9a)

### Investment/Number of deals vs Average deal size
![Image](https://github.com/user-attachments/assets/eb3d6f6e-d0f2-4093-ba2d-bb9e314fd7fe)

### Total GDP vs Debt (% of GDP)
![Image](https://github.com/user-attachments/assets/b6401c2e-9875-4064-874a-0d32e810bc5b)

[Chart source](https://www.mekkographics.com/product/power-of-mekko-charts/)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.