The first few lines help set everything up. We create a new variable on the iris dataset so that we can make some more interesting plots. Second, we create a theme for our plots so that the labels and titles are readable.
Re-ordering the panels
Simply re-order factor levels to change the order in which they’re displayed
Panel By 2 Features
Add Marginal Panels
Single Dimension Margins
Include All Margins
Axis Control
Normally, axes have a fixed range common to all panels and all panels are the same dimensions. We can allow the limits and the dimensions of the axes to vary freely.