@datawind/extension-mekko
v0.0.20
Published
⚡You can use this example to quickly build an extension which uses native js and antv to show a treemap chart.
Downloads
16
Keywords
Readme
Datawind Extension Chart - Mekko
⚡You can use this example to quickly build an extension which uses native js and antv to show a treemap chart.
introduction
The mekko chart a two-dimensional stacked chart which has been adopted to refer to a specific type of bar chart in which all the bars are of equal height, there are no spaces between the bars, and the bars are in turn each divided into segments of different width. Each bar corresponds to the first dimension and is divided into smaller category labels based on the second dimension, with different categories displayed in different colors. The value of the measure determines the category height associated within each bar and the size of the bar. You can also choose a color dimension. When there is a color dimension, the label displays the color according to that color dimension category.
For example: dimension [creation type] [creation status] index [read volume] Color [platform] The display is divided into several bars according to the creation type, and each bar is divided into several labels according to the creation state. The height of the label represents the reading quantity value, and the color of the label is the corresponding color of the current platform dimension.