Configuring a Marimekko Chart

Marimekko charts are stacked column charts with columns of variable width. They are primarily used for marketing analysis.

The following three dimensions of marketing data can be represented using a marimekko chart:

  • Total value of a market segment

  • Combined share of all competitors in a particular market segment

  • Individual share of competitors in each of the market segments

FusionCharts Suite XT allows you to customize the appearance of the Marimekko chart.

In this section, you will be shown how you can:

  • Display actual values

  • Customize column widths

  • Hide the sum total of the market segments

  • Remove the percentage labels between two stacked columns

Displaying Actual Values

The stacked columns in a Marimekko chart could be rendered in the following ways:

  • Using actual data values

  • Using percentage values

A Marimekko chart rendered with actual values instead of percentage values looks like this:

FusionCharts should load here..

Given below is a brief description of the attribute used to display actual values:

Attribute Description
usePercentDistribution It is used to specify whether percentage distribution will be used on the y-axis to plot data. Setting this attribute to 0 disables the percentage distribution, setting it to 1 (default) enables it.

The data structure needed to render actual values instead of percentage values is given below:

...

Customizing the Column Width

The horizontal distribution which is represented by the column width is based on the percentage values. The chart automatically calculates the horizontal width of columns by summing up the market share of competitors in each of the market segments. Following which, the width of each segment is determined by calculating the ratio of its sum to the total sum.

However, the width of the columns can also be customized.

A marimekko chart with the column width customized looks like this:

FusionCharts should load here..

Given below is a brief description of the attribute used to customize the width of the columns:

Attribute Description
widthPercent It is used to manually set the width of the columns in percentage. This attribute belongs to the category object which in turn belongs to the categories object.

The data structure needed to customize the width of the columns is given below:

...

While setting the width of each segment manually, the values of each category must be specified such that they sum up to 100. If the values of all categories do not sum up to 100, then the chart will calculate the width of the columns based on the actual values.

Hiding the Total Value of Market Segments

A marimekko chart with the total value of market segments not displayed at the top of each column looks like this:

FusionCharts should load here..

Given below is a brief description of the attribute used to hide the total value of market segments:

Attribute Description
showSum FusionCharts Suite XT allows you to show the sum of all data plots stacked above each other in one column above the column. This attribute is used to specify whether the sum of all stacked data plots will be shown. Setting this attribute to 1 will show the sum, setting it to 0 (default) will hide it.

The data structure needed to not display the total value of market segments at the top of each column is given below:

...

Hiding the Percentage Labels from Between Two Stacked Columns

A marimekko chart with the percentage labels on the x-axis hidden looks like this:

FusionCharts should load here..

Given below is a brief description of the attribute used to remove the percentage label on x-axis:

Attribute Description
showAxisPercentValues It is used to specify whether percentage values will be shown along the x-axis. Setting this attribute to 0 will hide the percent values, setting it to 1 (default) will show them.

The data structure needed to hide the percentage label on the x-axis is given below:

...

There! You have now seen how you can configure a Marimekko chart.