Skip to content

Partition chart text should scale uniformly along sectors/rings  #661

Closed
elastic/kibana
#69126
@markov00

Description

Is your feature request related to a problem? Please describe.
Shortest texts stand out more than longer texts in a treemap or pie chart because their fonts can take up much more space than longer texts. This can distort the represented data when the user gives a quick look without at the chart without giving some time to understand the whole picture.
Check the following examples:
Screenshot 2020-05-04 at 10 55 06

In this case, Belgium stands out much more than the Netherlands also if from the data it's the opposite and the difference is very small.

Screenshot 2020-05-04 at 10 51 32

In this other case, Asia and Europe on the second layer look much bigger than the United States one.

Describe the solution you'd like
I'm imaging a possible configuration option to allow scaling each font uniformly, from the biggest to the smallest. Each sector should compute its max font size depending on the computed font-size of the previous one.

Metadata

Assignees

Labels

:partitionPartition/PieChart/Donut/Sunburst/Treemap chart relatedenhancementNew feature or requestreleasedIssue released publicly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions