Excel does not have a native "variable width bar chart" (also known as a Marimekko or Mekko chart) in its standard chart library. To achieve this, you must use a workaround involving a Stacked Column Chart combined with a transparent base series to simulate different widths. This technique allows you to represent two different dimensions of data: the height of the bar represents one value, and the width of the bar represents another (such as market share or population).

What You'll Need

  • Microsoft Excel (Desktop version recommended).
  • A dataset containing the categories you want to chart.
  • Two sets of values: one for the Height (the Y-axis value) and one for the Width (the relative size of the bar).
  • A calculated "Cumulative Width" column to position the bars correctly on the X-axis.

Step-by-Step

  1. Prepare Your Data Table: Create a table with four columns: Category, Height, Width, and Cumulative Width.
    • The Height is the value you want to show on the vertical axis.
    • The Width is the relative size of each bar.
    • The Cumulative Width is a running total of the Width column. For the first row, it equals the width. For every subsequent row, it equals the previous cumulative width plus the current row's width.
  2. Insert a Stacked Column Chart: Highlight your Category and Cumulative Width columns. Go to the Insert tab, click the Column Chart icon, and select Stacked Column.
  3. Add the Height Data: Right-click the chart and choose Select Data. Click Add under Legend Entries (Series). For the Series Name, select the "Height" header; for the Series Values, select the range of height values. Click OK.
  4. Swap the Series Order: In the Select Data window, use the arrow buttons to move the "Cumulative Width" series to the bottom of the list and the "Height" series to the top. This ensures the height bars sit on top of the width spacers.
  5. Make the Base Transparent: Click on any of the bottom bars (the Cumulative Width series) to select the whole series. Right-click and select Format Data Series. Under the Fill & Line (paint bucket) icon, select No fill and No line. The bottom bars are now invisible, making the top bars appear to "float" at different starting points.
  6. Adjust Gap Width: While the visible bars are selected, go to the Series Options in the Format pane. Change the Gap Width to 0%. This removes the space between the columns, allowing the widths to touch and create a continuous block.
  7. Correct the X-Axis: Because you used a stacked chart, the X-axis labels may be misleading. Right-click the X-axis, select Format Axis, and adjust the labels or delete the axis entirely and use Data Labels to identify the categories.
  8. Add Data Labels: Right-click the visible bars and select Add Data Labels. This ensures the viewer knows exactly what the height of each variable-width bar represents.

Common Mistakes

  • Using a Standard Column Chart: Trying to use a basic clustered column chart will not work because Excel forces all bars in a series to have the same width. You must use the stacked workaround.
  • Forgetting the Cumulative Total: If you plot the raw width instead of the cumulative width, the bars will all start from the zero line rather than shifting across the chart.
  • Incorrect Series Order: If the Height series is below the Width series, the "invisible" bars will be on top, hiding your data. Always ensure the spacer series is the first (bottom) layer.
  • Ignoring Gap Width: Leaving the default Gap Width creates white space between bars, which breaks the visual illusion of a variable-width chart.

Tips

  • Use Colors for Meaning: Since the width and height both convey data, use a distinct color palette to differentiate categories or group them by a third variable.
  • Add a Legend: Because the X-axis is modified, a clear legend or direct labeling on the bars is essential for readability.
  • Normalize Your Widths: If your width values are very large, divide them all by the largest value in the set to work with percentages (0 to 1), making the cumulative calculations easier to manage.
  • Use a Table: Format your data as an official Excel Table (Ctrl+T). This way, if you add new categories, the chart will update automatically.

Troubleshooting

If the chart does not look correct, try these steps in order:

  • Bars are overlapping or too far apart: Double-check that the Gap Width is set exactly to 0%. If they are still overlapping, verify that your Cumulative Width calculations are correct and not duplicating values.
  • The "invisible" bars are still visible: Ensure you selected No fill AND No line. Sometimes a thin border remains around the bar, which creates a grid-like effect.
  • Data labels are missing: If you have many small bars, Excel may hide labels to prevent crowding. Right-click the label and select Format Data Labels to change the position to "Inside Base" or "Outside End."
  • X-axis labels are wrong: Since the chart is technically a stacked column chart, the X-axis treats each bar as a separate category. If the labels are shifted, try removing the X-axis entirely and adding text boxes or data labels manually.

Frequently Asked Questions

Can I make a true Marimekko chart in Excel?

Not natively. A true Marimekko chart scales both the X and Y axes. The method described here simulates the variable width on the X-axis, but the Y-axis remains a standard linear scale.

Does this work in Excel for Web?

Yes, but the formatting options (like Gap Width and No Fill) may be located in slightly different menus depending on your browser version. The logic of the stacked column workaround remains the same.

How do I change the width of just one bar?

You cannot change the width of a single bar independently. You must adjust the value in your "Width" data column, which will automatically update the "Cumulative Width" and shift the rest of the chart.

Is there a plugin for this?

Yes, there are various third-party Excel add-ins and specialized charting software that offer Marimekko charts as a one-click option, but the manual workaround is the best way to do it using only standard Excel tools.

Why do my bars look like thin lines?

This usually happens if your Width values are extremely small compared to the overall chart size. Increase the scale of your width values or expand the chart area to make the bars more visible.