Giter Site home page Giter Site logo

plugin-treemapvisualization's Introduction

Build Status

Description

TreemapVisualization contains a new report visualization that will display your reports as tiles of different sizes and will show you how each metric has changed from the last period.

The treemap visualization displays rows of data as squares whose size corresponds to a metric in each row.

If you're looking at the visits in a report, the row with the most visits will take up the most space. Just like other graph visualizations, you can use it to easily see which rows have the largest values. The treemap differs from other graphs though, in that it can show many more rows.

Treemap colors for comparison with previous period

The treemap visualization will also show you one thing that no other visualization included with Matomo does: the evolution of each row. Hovering over a treemap square will show you how much the row changed from the last period (ie, the last day, week, etc.).

Each treemap square is colored based on the evolution value so you can easily see how your data is changing. A red square means the change is negative; a green square means the change is positive. The more green the bigger the change; the more red the smaller the change.

Known limitations

  • Treemaps will not work with flattened tables. Currently, if a table is flattened, the treemap icon will be removed.
  • Evolution values cannot be calculated for subtables (reports that are displayed when you click on a row or node).

Feedback, bug report or requests

github.com/matono-org/plugin-TreemapVisualization/issues

plugin-treemapvisualization's People

Contributors

altamashshaikh avatar bx80 avatar diosmosis avatar findus23 avatar halfdan avatar mattab avatar mnapoli avatar mneudert avatar sgiehl avatar snake14 avatar tsteur avatar weblate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plugin-treemapvisualization's Issues

Cannot translate the plugin

Hi guys,

I cannot find it on weblate, I guess it is not possible to translate this plugin so far.
Could you please make that possible?

Thank you,

Setting parameters rows_to_display is not allowed.

When I try to click on a folder in the Pages-Overview, nothing happens.
The request
http://localhost/piwik/index.php?date=today&viewDataTable=infoviz-treemap&availableWidth=450&availableHeight=875&columns=nb_hits&module=API&action=index&idSite=1&period=month&random=0&filter_offset=0&enable_filter_excludelowpop=0&idSubtable=1&method=TreemapVisualization.getTreemapData&apiMethod=Actions.getPageUrls&format=json&column=nb_hits&show_evolution_values=1
returns 500 and the following error appears in the server log:

PHP message: Error in Piwik: Setting parameters rows_to_display is not allowed. Please report this bug to the Piwik team

Wrong metrics displayed for Entry pages and Exit pages

When from the dashboard I look at Entry pages and Exit pages using the "simple table" (default) view, it shows me the number of entrances and exits. But if then I click on the bottom-left treemap icon, the visualization is wrong compared to the previous numbers. The visualization draws areas depending on the unique page views for each page, not its entrances or exits.

treemap error

I recently installed the treemap plugin for wordpress(version 5.4.1) current php. The error I am recieving is as follows:

Warning: Use of undefined constant PIWIK_INCLUDE_PATH - assumed 'PIWIK_INCLUDE_PATH' (this will throw an Error in a future version of PHP) in /home/xxxxxxxxxx/public_html/wp-content/plugins/TreemapVisualization/TreemapVisualization.php on line 28

Warning: require_once(PIWIK_INCLUDE_PATH/plugins/TreemapVisualization/Visualizations/Treemap.php): failed to open stream: No such file or directory in /home/xxxxxxxxxx/public_html/wp-content/plugins/TreemapVisualization/TreemapVisualization.php on line 28

Fatal error: require_once(): Failed opening required 'PIWIK_INCLUDE_PATH/plugins/TreemapVisualization/Visualizations/Treemap.php' (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home/xxxxxxxxxx/public_html/wp-content/plugins/TreemapVisualization/TreemapVisualization.php on line 28

Completely Broken on "Visits by Server Time"

When I use this plugin visualization on the mentioned widget, it shows nothing but "Other". I don't see this behavior on other widgets (so far).

I'm running Piwik version 2.1.0 and TreemapVisualization version 1.0.10

Very large "Others" element in some cases in Treemap

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

Resulting treemap

visits per server time

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

Only works when logged out

When I am logged in I only see an empty box.
screenshot_20170413_104422

The dropdown menu still works but I can't change it back to the normal tables.

There are also no javascript errors.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.