• Open in:

Horizontal Partition Chart

Horizontal Partition Chart displays hierarchical data in horizontally distributed levels. While not the most visually appealing, the chart gives a very clear view into the values comprising the higher levels.

Key implementation details

Partition charts are part of the hierarchy module of amCharts Charts package. To create a partition chart we just add a Container and then add a Partition object into it. orientation: "horizontal" setting makes the partition horizontal. All that’s left is to specify the valueField, categoryField, and childDataField to bind the chart to the data.

Related tutorials

Build this chart with AI

The prompt below can be used to build this chart with AI. For best coding results, use the most advanced AI models, like Claude Opus 4.6 and GPT-5.3-Codex. For more info and tips, check out amCharts AI docs.

Create a horizontal partition chart that displays hierarchical data in horizontally distributed rectangular levels. Generate random hierarchical data with a root node, up to 2 levels deep, up to 3 nodes per level, and values from 0 to 100. Rectangle dimensions should correspond to data values proportionally. The root data item should be pre-selected. Apply the Animated theme. Animate the series appearance with a smooth staggered animation. The chart should be tall at full width. Use amCharts 5 library.

Demo source