lets-plot icon indicating copy to clipboard operation
lets-plot copied to clipboard

Feature Request: Mekko Bar

Open concimuscb opened this issue 10 months ago • 0 comments

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

Investment/Number of deals vs Average deal size

Image

Total GDP vs Debt (% of GDP)

Image

Chart source

concimuscb avatar Feb 26 '25 14:02 concimuscb