Violin Plot of Household Weight Distribution by Zone Group
plot_weight_distribution.RdCreates a violin plot visualizing the distribution of final household-level weights, by zone group and for the region as a whole. Useful for visually assessing the spread and outliers in the weighting process.
Steps performed:
Combine zone group and region weights into one data frame for plotting.
Map internal group codes to pretty labels using
zone_group_labels.Build factor levels for plotting, ensuring "Region" appears last if present.
Plot household weights by group as violins, with jittered points for individual households, and log10 x-axis.