matomo-org / matomo-org/plugin-TreemapVisualization

Very large "Others" element in some cases in Treemap

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
15
Forks
17
Avg merge
18h 53m
Merged PRs (30d)
11

Description

In some cases, the Treemap visualisation does not seem to sort items by value before drawing the treemap report. For example there is a large column value (for example in server time: 1000 visits at 22:00 when other hours have 10 visits), and one expects to see this large value (22:00) displayed in the Treemap, yet it shows "Others" very large instead.

## Example table report
![server time table](https://cloud.githubusercontent.com/assets/466765/25798087/15bcc80e-33e0-11e7-8a75-a85b92dd7513.png)

## Resulting treemap

![visits per server time](https://cloud.githubusercontent.com/assets/466765/25798088/15c202e2-33e0-11e7-8ce6-900f963f0763.png)

-> Should Treemap always sort value in decreasing order before generating the visualisation?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the example server-time table report and compare its values with the resulting Treemap visualization. Trace the Treemap generation path and verify that the largest value is displayed as its own item rather than being absorbed into "Others".

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.