Vertical Mekko Chart


This article explains how to create a Vertical Mekko chart in AnyChart.

To learn more about vertical charts in general and how to customize them, see Vertical Charts (Overview). You can also read the Mekko Chart article to learn about other available settings.

Quick Start

To build a Vertical Mekko chart, use the anychart.mekko() chart constructor. Then you need to make some adjustments to make it vertical:

  • set vertical orientation as default for mekko series,
  • swap X and Y axes positions.
// create a chart
chart = anychart.mekko();

// swap axes

// add series and change the orientation
var series1 = chart.mekko(seriesData_1).name("Item 1");

var series2 = chart.mekko(seriesData_2).name("Item 2");

JsFiddle Playground