Creating a TreeMap Visualization

I need a Treemap visualization creation algorithm.

Something like this: An Easy Way to Make a Treemap

The problem is that I do not want to use R ... and I need the source code. Preferably in Python or Java.

The thing is, I have to set it up ... instead of colors, I need images, so something that gives me the coordinates would be awesome.

Thank,

+3
source share
6 answers

SourceForge.net's Java TreeMap library is an open source implementation of the algorithm described in Ben Schneiderman's article .

, Schneiderman .

+10

, , .

, , . ( - , ):

+-------+-------+-------+
|       |       |       |
|       |       |       |
|       |       |       |
|       |       |       |
|       |       |       |
|       |       |       |
+-------+-------+-------+

:

+-------+-------+-------+
|       |       |       |
+-------+       |       |
|       +-------+       |
|       |       |       |
|       |       +-------+
|       |       |       |
+-------+-------+-------+

:

+--+----+----+--+----+--+
|  |    |    |  |    |  |
+--+-+--+    |  |    |  |
|    |  +-+--+--+    |  |
|    |  | |     |    |  |
|    |  | |     +---++--+
|    |  | |     |   |   |
+----+--+-+-----+---+---+

Etc.

+4

- LOT , treemap. .

+2

Prefuse TreeMap. . code .

+2

IBM ManyEyes Treemap:

http://www-958.ibm.com/software/data/cognos/manyeyes/page/Treemap.html

. , treemap, treemap.

- ( ,..) Java.

+2

- JavaScript, CSS.

, , D3: http://mbostock.github.com/d3/ex/treemap.html

div

background-image: url('path/to/image.png');
0

Source: https://habr.com/ru/post/1758684/


All Articles