We did a survey on e-voting and the expected cost. I used patchwork to plot the resulting column plot, but the width of the columns changes from plot to plot due to different number of answers.
Is there a way to make the columns the same width within the figure, without distorting the titles/questions?
Example: Question 1 has two options, while questions 2 and 3 have 4 and 5 options. I would like the bars to have the same width regardless of # of options.
I think this method at least comes close. Pick a baseline column width (I picked 0.8 where 1 has adjacent columns touching), divide that by the maximum number of categories in any of your plots and multiply by the number of categories in the given plot.
That solves the issue of making the columns equal width, but now there is a lot a space between the "Yes" and "No" of the top chart, and increasingly smaller sizes when there are more options. Is there a way to adjust the height of of the panel, based on the number of options?