How to Create Double Forest Charts with Separate Axes
Question details
The user needs to create two side-by-side forest charts with multiple label columns, error bars, aligned labels, and independent top-axis scales.

- Product
- Spreadsheets and Data Visualization Tools
- Device & OS
- not provided
- Scenario
- Building complex statistical visualizations for side-by-side data comparison.
- Observed behavior
- Requires a one-row, two-column visual layout with independently set axis ranges (e.g., 0-10 and 0-20) and properly aligned headers without spacing issues.
Ensure your dataset is meticulously formatted into separate columns for labels, central values, and error margins before generating the charts.
Using Programming Tools (R or Python) for Forest Charts
Utilize statistical programming libraries to precisely control the layout, spacing, and axis limits of complex dual charts.
Creating a double forest chart with multiple headers often exceeds the native capabilities of basic spreadsheet charts. Using R or Python offers the exact layout control needed for this statistical visualization.
Create a one-row, two-column layout using tools like R's par(mfrow = c(1, 2)) or Matplotlib's subplots in Python to place charts side-by-side.
Use non-breaking spaces or systematically reduce the label font size in your code to preserve proper spacing and prevent text overlap.
Manually set the axis limits for each subplot (for example, setting xlim to 0-10 for the first chart and 0-20 for the second) to ensure accurate scale representations.
If labels do not align perfectly with the scale, review your data structure and plot mappings to ensure values correctly correspond to their assigned error bars.

Creating a Side-by-Side Chart Layout in Spreadsheets
A manual approach to simulating a double forest chart by arranging two distinct scatter charts with error bars next to each other.
Easily Manage Chart Data and Layouts with WPS Spreadsheets
While highly complex statistical charts require programming, WPS Spreadsheets provides an intuitive interface to build, arrange, and align multiple scatter charts side-by-side with fully customizable error bars and independent axes.
- 1. Prepare your data: Open your dataset in WPS Spreadsheets and arrange your central values and error margins in adjacent columns.
- 2. Insert scatter charts: Highlight your data, navigate to the Insert tab, and choose a Scatter Chart. Use the Chart Elements menu to add Error Bars.
- 3. Format axes independently: Double-click the horizontal axis on each chart to open the formatting pane, then manually input your desired Minimum and Maximum bounds.
- 4. Arrange side-by-side: Drag the charts next to each other, remove the outer borders via the formatting pane, and add text boxes for your custom headers.

Frequently Asked Questions
Why are my chart labels misaligned with the data scale?
Misaligned labels usually indicate an issue with the underlying data structure or plot mapping. Verify that your data rows perfectly match the label sequence and that no blank rows are skewing the plot scale.
How do I fix text spacing issues in multiple chart headers?
To preserve spacing, you can insert non-breaking spaces between words or slightly reduce the font size of the labels. This prevents text from wrapping unexpectedly or pushing chart elements out of alignment.
Can I set completely different axis limits for side-by-side charts?
Yes. Whether you are using programming libraries like Matplotlib or arranging separate charts manually in a spreadsheet, you can define independent minimum and maximum axis limits (e.g., 0-10 for the left chart and 0-20 for the right chart).
What is a forest chart typically used for?
Forest charts, also known as forest plots, are standard visual tools in statistical research and meta-analyses. They display estimated effect sizes and confidence intervals (using error bars) for multiple studies in a single, comparable view.




