Mosaic plot in Makie

Does Makie have Mosaic plots?

image

Looks like a stacked barplot where the sum in each column is always the same?

https://docs.makie.org/stable/examples/plotting_functions/barplot/#example_18247593978837929480

Kinda, but the vertical-axis labels (text and position) are wrong there.

Sure, but you can always place whatever you want wherever you want using the xticks and yticks argument. Here is an example which replaces the xtick labels in a barplot: Axis

Whats really missing are the gaps between the stacks, that might be more complicated.

1 Like