Afficher le texte intégral13 pages
Page 1
Voir dans le PDF(s’ouvre dans une nouvelle fenêtre)IVAPP 2014
VA
Generalized Pythagoras Trees for Visualizing Hierarchies
Fabian Beck!, Michael Burch’, Tanja Munz', Lorenzo Di Silvestro?,
A
and Daniel Weiskopt!
| VISUS, University of Stuttgart, Stungart, Germany
e)
.
N
>
.
-
=
ons
.
.
.
“ Dipartimento di Matematica e Informatica, Università di Catania, Catania, Italy
(fabian. beck, michaet.burch, daniel.weiskopf} @ visus.uni-stuttgari.de; disitvestro@dmi.unict.it
Keywords:
Hierarchy Visualization.
Abstract:
Pythagoras Trees are fractals that can be used to depict binary hierarchies. But this binary encoding is an
obstacle for visualizing hierarchical data such as file systems or phylogenetic trees, which branch into
subhierarchies. Although any hierarchy can he modeled as a binary one by subsequently dividing »-ary branches
into a sequence of a — | binary branches. we follow a different strategy. In our approach extending Pythagoras Trees to arbitrarily branching trees, we only need a single visual element for an n-ary branch instead of
spreading the binary branches along a strand. Each vertex in the hierarchy is visualized as a rectangle sized
according to a metric. We analyze several visual parameters such as length, width. order, and color of the
nodes against the use of different metrics. The usefulness of our technique is illustrated by two case studies
visualizing directory structures and a large phylogenetic wee. We compare our approach with existing tree
diagrams and discuss questions of geometry, perception, readability, and aesthetics.
1
INTRODUCTION
Hierarchical data (i.e, trees) occurs in many application domains, for instance, as results of a hierarchical clustering algorithm, as files organized in directory structures, or as species classified in a phylogenetic tree. Providing an overview of possibly
large and deeply nested tree structures is one of the
challenges in information visualization, An appropriate visualization technique should produce compact.
readable. and comprehensive diagrams. which ideally
also look aesthetically appealing and natural to Ihe
human eye.
A prominent visualization method are node-link
diagrams, which are often simply denoted as tree diagrams: layout and aesthetic criteria have been discussed (Reingold and Tilford, 1981: Wetherell and
Shannon, 1979). Although node-link diagrams are
intuitive and easy to draw, visual scalability and labeling often is an issue. An alternative. in particular
easing the labeling problem, are indented trees (Burch
et al. 2010) depicting the hierarchical structure by inwhich is applying the concept of nested boxes, produces space-efficient diagrams but complicates interpreting the hierarchical structure.
In this paper, we introduce Generalized Pythagoras Trees as an alternative to the above hierarchy visualization techniques. It is based on Pythagoras Trees
(Bosman. 1957), a fractal technique showing a binary
hierarchy as branching squares (Figure |, a); the fractal approach is named after Pythagoras because every
branch creates a right triangle and the Pythagorean
theorem is applicable to the areas of the squares. We
extend this approach to #-arily branching structures
and use it Jor depicting information hierarchies (Figure |, b). Instead of triangles. each recursive rendering step produces a convex polygonal shape where the
corners are placed on a semi circle. The size of the
created rectangles can be modified for encoding numeric information such as the number of leaf nodes
of the respective subhierarchy (Figure |, c).
We implemented the approach as an interactive
tool and demonstrate its usefulness by applying it to
large and deeply structured abstract hicrarchy data
from two application domains: a file system organized in directories and the NCBI taxonomy, a phylogentic tree that structures the living organisms on
dentation. Further, layered icicle plots (Kruskal and
Landwehr, 1983) stack boxes on top of each other for
encoding a hierarchy. bul waste space by assigning
large areas to inner nodes on higher levels of the hierearth in a tree consisting of more than 300.000 verarchy. The Treemap approach (Shneiderman. 1992),
tices.
Furthermore. a comparison to existing hier-
Page 2
Voir dans le PDF(s’ouvre dans une nouvelle fenêtre)IVAPP 2014
Generalized Pythagoras Trees for Visualizing Hierarchies
Fabian Beck1 , Michael Burch1 , Tanja Munz1 , Lorenzo Di Silvestro2 ,
and Daniel Weiskopf1
1 VISUS, University of Stuttgart, Stuttgart, Germany
2 Dipartimento di Matematica e Informatica, Università di Catania, Catania, Italy
{fabian.beck, michael.burch, daniel.weiskopf}@visus.uni-stuttgart.de; disilvestro@dmi.unict.it
Keywords:
Hierarchy Visualization.
Abstract:
Pythagoras Trees are fractals that can be used to depict binary hierarchies. But this binary encoding is an
obstacle for visualizing hierarchical data such as file systems or phylogenetic trees, which branch into n subhierarchies. Although any hierarchy can be modeled as a binary one by subsequently dividing n-ary branches
into a sequence of n 1 binary branches, we follow a different strategy. In our approach extending Pythagoras Trees to arbitrarily branching trees, we only need a single visual element for an n-ary branch instead of
spreading the binary branches along a strand. Each vertex in the hierarchy is visualized as a rectangle sized
according to a metric. We analyze several visual parameters such as length, width, order, and color of the
nodes against the use of different metrics. The usefulness of our technique is illustrated by two case studies
visualizing directory structures and a large phylogenetic tree. We compare our approach with existing tree
diagrams and discuss questions of geometry, perception, readability, and aesthetics.
1
INTRODUCTION
Hierarchical data (i.e., trees) occurs in many application domains, for instance, as results of a hierarchical clustering algorithm, as files organized in directory structures, or as species classified in a phylogenetic tree. Providing an overview of possibly
large and deeply nested tree structures is one of the
challenges in information visualization. An appropriate visualization technique should produce compact,
readable, and comprehensive diagrams, which ideally
also look aesthetically appealing and natural to the
human eye.
A prominent visualization method are node-link
diagrams, which are often simply denoted as tree diagrams; layout and aesthetic criteria have been discussed (Reingold and Tilford, 1981; Wetherell and
Shannon, 1979). Although node-link diagrams are
intuitive and easy to draw, visual scalability and labeling often is an issue. An alternative, in particular
easing the labeling problem, are indented trees (Burch
et al., 2010) depicting the hierarchical structure by indentation. Further, layered icicle plots (Kruskal and
Landwehr, 1983) stack boxes on top of each other for
encoding a hierarchy, but waste space by assigning
large areas to inner nodes on higher levels of the hierarchy. The Treemap approach (Shneiderman, 1992),
which is applying the concept of nested boxes, produces space-efficient diagrams but complicates interpreting the hierarchical structure.
In this paper, we introduce Generalized Pythagoras Trees as an alternative to the above hierarchy visualization techniques. It is based on Pythagoras Trees
(Bosman, 1957), a fractal technique showing a binary
hierarchy as branching squares (Figure 1, a); the fractal approach is named after Pythagoras because every
branch creates a right triangle and the Pythagorean
theorem is applicable to the areas of the squares. We
extend this approach to n-arily branching structures
and use it for depicting information hierarchies (Figure 1, b). Instead of triangles, each recursive rendering step produces a convex polygonal shape where the
corners are placed on a semi circle. The size of the
created rectangles can be modified for encoding numeric information such as the number of leaf nodes
of the respective subhierarchy (Figure 1, c).
We implemented the approach as an interactive
tool and demonstrate its usefulness by applying it to
large and deeply structured abstract hierarchy data
from two application domains: a file system organized in directories and the NCBI taxonomy, a phylogentic tree that structures the living organisms on
earth in a tree consisting of more than 300,000 vertices. Furthermore, a comparison to existing hier-
Page 3
Voir dans le PDF(s’ouvre dans une nouvelle fenêtre)Figure 1: Extending Pythagoras Trees for encoding information hierarchies: (a) traditional fractal approach; (b) Generalized
Pythagoras Tree applied to an n-ary information hierarchy; (c) additionally visualizing the number of leaves by the size of the
inner nodes.
archy visualization approaches provides first insights
into the unique characteristic of Generalized Pythagoras Trees: a higher visual variety leads to more distinguishable visualizations, the fractal origin of the
method supports identifying self-similar structures,
and the specific layout seems to be particularly suitable for visualizing deep hierarchies. Finally, the
created images are visually appealing as they show
analogies to natural tree and branching structures.
2
RELATED WORK
The visualization of hierarchical data is a central information visualization problem that has been studied for many years. Typical respresentations include node-link, stacking, nesting, indentation, or
fractal concepts as surveyed by Jürgensmann and
Schulz (2010); Schulz (2011). Many variants of the
general concepts exist, for instance, radial (Battista
et al., 1999; Eades, 1992) and bubble layouts (Grivet
et al., 2004; Lin and Yen, 2007) of node-link diagrams, circular approaches for stacking techniques
(Andrews and Heidegger, 1998; Stasko and Zhang,
2000; Yang et al., 2003), or nested visualizations
based on Voronoi diagrams (Balzer et al., 2005; Nocaj
and Brandes, 2012).
Although many tree visualizations were proposed
in the past, none provides a generally applicable solution and solves all related issues. For example, nodelink diagrams clearly show the hierarchical structure
by using explicit links in a crossing-free layout. However, by showing the node-link diagram in the traditional fashion with the root vertex on top and leaves
at the bottom, much screen space stays unused at the
top while leaves densely agglomerate at the bottom.
Transforming the layout into a radial one distributes
the nodes more evenly, but makes comparisons of
subtrees more difficult. Node-link layouts of hierarchies have been studied in greater detail, for instance,
Burch et al. (2011) investigated visual task solution
strategies whereas McGuffin and Robert (2009) analyzed space-efficiency.
Indented representations of hierarchies are wellknown from explorable lists of files in file browsers.
Recently, Burch et al. (2010) investigated a variant
as a technique for representing large hierarchies as
an overview representation. Such a diagram scales
to very large and deep hierarchies and still shows
the hierarchical organization but not as clear as in
node-link diagrams. Layered icicle plots (Kruskal
and Landwehr, 1983), in contrast, use the concept of
stacking: the root vertex is placed on top and, analogous to node-link diagrams, consumes much horizontal space that is as large as all child nodes together.
Treemaps (Shneiderman, 1992), a space-filling
approach, are a prominent representative of nesting
techniques for encoding hierarchies. While properties of leaf nodes can be easily observed, a limitation
becomes apparent when one tries to explore the hierarchical structure because it is difficult to retrieve
the exact hierarchical information from deeply nested
boxes: representatives of inner vertices are (nearly)
completely covered by descendants. Treemaps have
been extended to other layout techniques such as
Voronoi diagrams (Balzer et al., 2005; Nocaj and
Brandes, 2012) producing aesthetic diagrams that,
however, suffer from high runtime complexity.
Also, 3D approaches have been investigated, for
instance, in Cone Trees (Carrière and Kazman, 1995),
each hierarchy vertex is visually encoded as a cone
with the apex placed on the circle circumference of
the parent. Occlusion problems occur that are solved
by interactive features such as rotation. Botanical
Trees (Kleiberg et al., 2001), a further 3D approach,
imitate the aesthetics of natural trees but are restricted
to binary hierarchies, that is, n-ary hierarchies are
modeled as binary trees by the strand model of Holton
(1994); it becomes harder to detect the parent of a
node.
Page 4
Voir dans le PDF(s’ouvre dans une nouvelle fenêtre)The term fractal was coined by Mandelbrot (1982)
and the class of those approaches has also been used
for hierarchy visualization due to their self-similarity
property (Koike, 1995; Koike and Yoshihara, 1993).
With OneZoom (Rosindell and Harmon, 2012), the
authors propose a fractal-based technique for visualizing phylogenetic trees; however, n-ary branches
need to be visually translated into binary splits. Devroye and Kruszewski (1995) visualize random binary hierarchies with a fractal approach as botanical trees; no additional metric value for the vertices is taken into account; instead, they investigate
the Horton-Strahler number for computing the branch
thicknesses.
The goal of our work is to extend a fractal approach, which is closer to natural tree structures, towards information visualization. This goal promises
embedding the idea of self-similarity and aesthetics of fractals into hierarchy visualization. Central
prerequisite—and in this, our approach differs from
existing fractal approaches—is that n-ary branches
should be possible. With respect to information visualization, the approach targets at combining advantages of several existing techniques: a readable
and scalable representation, an efficient use of screen
space, and the flexibility for encoding additional information. A downside of the approach, however, is
that overlap may occur similar as in 3D techniques
(though it is a 2D representation)—only varying the
parameters of the visualization or using interaction alleviates this issue.
3
VISUALIZATION TECHNIQUE
Our general hierarchy visualization approach extends
the idea of Pythagoras Trees. Instead of basing the
branching of subtrees on right triangles, we exploit
convex polygons with edges on the circumference of
a semi circle.
3.1
Data Model
We model a hierarchy as a directed graph H = (V, E)
where V = {v1 , . . . , vk } denotes the finite set of k
vertices and E ⇢ V ⇥ V the finite set of edges, i.e.,
parent–child relationships. One vertex is the designated root vertex and is the only vertex without an
incoming edge; all other vertices have an in-degree of
one. We allow arbitrary hierarchies, that is, the outdegree of the vertices is not restricted. A maximum
branching factor n 2 N of H can be computed as the
maximum out-degree of all v 2 V . For an arbitrary
vertex v 2 V , Hv denotes the subhierarchy having v as
(a)
(b)
Figure 2: Illustration of the traditional Pythagoras Tree approach: (a) a single binary branch; (b) recursively applied
branching step.
root vertex; | Hv | is the number of vertices included
in the Hv (including v). The depth of a vertex v0 in
Hv is the number of vertices on the path through the
hierarchy from v to v0 . We allow positive weights to
be attached to each vertex of the hierarchy v 2 V representing metric values such as sizes. We model them
as a function w : V ! R. The weight w(v) 2 R+ of an
inner vertex v does not necessarily need to be the sum
of its children, but can be.
3.2
Traditional Pythagoras Tree
The Pythagoras Tree is a fractal approach describing
a recursive procedure of drawing squares. In that, it
was initially not intended to encode information, but
its tree structure easily allows representing binary hierarchies: each square represents a vertex of the hierarchy; the recursive generation follows the structure
of the hierarchy and ends at the leaves.
Drawing a fractal Pythagoras Tree starts with
drawing a square of side length c. Then, two smaller
squares are attached at one side of the square—
usually, at the top—according to the procedure illustrated in Figure 2 (a): Then, a right triangle with angles a and b where a + b = p2 is drawn using the
side of the square as hypotenuse, which also becomes
a diameter of the circumcircle of the triangle. The
two legs of the triangle are completed to squares having side lengths a and b. In the right triangle, the
Pythagorean theorem a2 + b2 = c2 holds, i.e., the sum
of the areas of the squares over the legs is equal to
the area of the square over the hypotenuse. Applying
this procedure recursively to the new squares as depicted for the next step in Figure 2 (b) creates a fractal Pythagoras Tree (the recursion is only stopped for
practical reasons at some depth). The angles a and b
can be set to a constant value or be varied according to
some procedural pattern. Figure 1 (a) provides an example of a fractal Pythagoras Tree where a = b = p4 .
Page 5
Voir dans le PDF(s’ouvre dans une nouvelle fenêtre)Transforming the fractal approach into an information visualization technique, the squares are interpreted as representatives of vertices of the hierarchy,
called nodes. As a consequence, the fractal encodes
a complete binary hierarchy, the recursion depth being the depth of the hierarchy. If the generated image
should represent a binary hierarchy that is not completely filled to a certain depth, the recursion has to
stop earlier for the respective subtrees. If the hierarchy is weighted as specified in the data model, the
weights can be visually encoded by adjusting the sizes
of the squares, i.e., the corresponding angles a and b.
Figure 3:
Random binary hierarchy visualized as a
Pythagoras Tree that encodes the number of leaves in the
size of the nodes.
Algorithm 1 Pythagoras Tree
PythagorasTree(Hv , S):
// Hv : binary hierarchy
// S: representative square S = (c, Ds, q)
// c = (xc , yc ): center
// Ds: length of a side
// q: slope angle
drawSquare(S);
R1
v3
R3
Δx2
Δx3
Δx1
α2
α1
// draw square for current root vertex
w(v )
Δy2
R2
Δx
if | Hv |> 1 then
// v1 and v2 : children of Hv
w(v2 )
a := p2 · w(v )+w(v
;
)
1
v2
Δy1
v1
R
α3
α4
Δx4
Δy3
R4 v4
Δy4
Δy
2
1
b := p2 · w(v )+w(v
;
1
2)
Ds1 := Ds · sin b;
Ds2 := Ds · sin a;
c1 := ComputeCenterLe f t(c, Ds, Ds1 , );
c2 := ComputeCenterRight(c, Ds, Ds2 );
S1 := (c1 , Ds1 , q + a);
S2 := (c2 , Ds2 , q b);
PythagorasTree(Hv1 , S1 );
PythagorasTree(Hv2 , S2 );
end if
// draw subhierarchy Hv1
// draw subhierarchy Hv2
Algorithm 1 describes in greater detail how an arbitrary binary hierarchy (i.e., a hierarchy where each
vertex either has an out-degree of 2 or 0) can be recursively transformed into a Pythagoras Tree visualization. It is initiated by calling PythagorasTree(Hv , S):
where Hv = (V, E) is a binary hierarchy and S =
(c, Ds, q) is the initial square with center c, length of
the sides Ds, and slope angle q. The recursive procedure first draws square S and proceeds if the current hierarchy still contains more than a single node.
Then, encoding the node weights in the size of the
squares, the angles a and b are computed according
to the normalized weight of the node opposed to the
angle. The angles form the basis for further computing the parameters of the two new rectangles S1
and S2 . The drawing procedure is finally continued
by recursively calling PythagorasTree(Hv1 , S1 ) and
PythagorasTree(Hv2 , S2 ) for the two children v1 and
v2 of the current root vertex.
v
Figure 4: Polygonal split of Generalized Pythagoras Trees
creating an n-ary branch.
When, for instance, using the number of leaf vertices as the weight of each vertex, the algorithm produces visualizations such as Figure 3 that encodes a
random binary hierarchy. Like the fractal approach,
the visualization algorithm still produces overlap of
subtrees that, however, becomes rarer through sparser
hierarchies.
3.3
Generalized Pythagoras Tree
The Generalized Pythagoras Tree, as introduced in the
following, can be used for visualizing arbitrary hierarchies, that are hierarchies allowing n-ary branches.
Right triangles are replaced by convex polygons sharing the same circumcircle; the former hypotenuse of
the triangle becomes the longest side of the triangle.
For increasing the visual flexibility of the approach,
squares are exchanged for general rectangles.
Figure 4 illustrates an n-ary branch, showing the
polygon and its circumcircle. The polygon is split
into a fan of isosceles triangles using the center of
the circumcircle as splitting point. While the number
of rectangles is specified by the degree of the represented branch, the angles and lengths can be modified
Page 6
Voir dans le PDF(s’ouvre dans une nouvelle fenêtre)Aucun texte sur cette page.
Page 7
Voir dans le PDF(s’ouvre dans une nouvelle fenêtre)Aucun texte sur cette page.
Page 8
Voir dans le PDF(s’ouvre dans une nouvelle fenêtre)ber of leaf nodes as the common metric, which seems
to be a good default selection because more space is
assigned to larger subtrees. In contrast, when all subnodes are assigned the same size (i.e. a constant function is employed), small subtrees become overrepresented as depicted in Table 1 (S2). A variant of the
approach, which is shown in Table 1 (S3), extends the
approach from using semi circles to larger sectors of
a circle.
Inserting different functions for width and length
further increases the flexibility—nodes are no longer
squares, but differently shaped rectangles. For instance, Table 1 (S4) encodes the number of leaf nodes
in the height and applies a constant value to the width.
When defining the length function relative to the (constant) width so that the area of the rectangle is proportional to the number of leaves, those leaf nodes are
emphasized as depicted in Table 1 (S5). A similar
variant shown in Table 1 (S6) has a constant length
and chooses the width accordingly for encoding the
number of leaf nodes in the area.
3.5.2
Order
The subnodes of an inner node of a hierarchy are visualized as an ordered list. While, for some applications, there exist a specific, externally defined order,
many other scenarios do not dictate a specific order.
In case of the latter, the subnodes can be sorted according to a metric, which again is the number of leaf
nodes in this example. The sorting criterion mainly
influences the direction in which the diagram is growing but also influences overlapping effects. Often the
external order, at least in case it is random or independent of size, creates quite balanced views as depicted in Table 1 (O1). When, for instance, applying
an ascending order, the image like the one shown in
Table 1 (O2) grows to the right. More symmetric visualizations such as in Table 1 (O3) are generated when
placing the vertices with the larger size in the center.
3.5.3
Color
The areas of the rectangular nodes can be filled with
color for encoding some extra information. Selecting
the color on a color scale according to the depth of
the node in the hierarchy helps comparing the depth
of subtrees: for instance, in Table 1 (C1) this encoding reveals that the leftmost main subtree, though being shorter, is as deep as the rightmost one. Alternatively, the weight of a node can be encoded in color
like shown in Table 1 (C2), which, however, is more
suitable if the size of the node not already encodes
the weight. If categories of vertices are available, also
(a)
(b)
(c)
Figure 7: Relationship between Generalized Pythagoras
Trees and node-link diagrams: (a) Generalized Pythagoras
Tree; (b) Generalized Pythagoras Tree and analogous nodelink diagram; (c) analogous node-link diagram.
these categories can be color-coded by discrete colors
as depicted in Table 1 (C3).
3.6
Analogy to Node-Link Diagrams
Though being derived from a fractal approach, Generalized Pythagoras Trees can be adapted—without
changing the position of nodes—to become variants
of node-link diagrams. An analogous diagram can
be created as illustrated in Figure 7 by connecting
the circle centers of the semi circles of branches by
lines. The circle centers become the nodes, the lines
become the links of the resulting node-link diagram.
Like the subtrees of a Generalized Pythagoras Tree
might overlap, the analogous node-link drawing is not
guaranteed to be free of edge crossings. We prefer the
Pythagoras variant over the analogous node-link variant because it uses the available screen space more
efficiently (which is important, for instance, for color
coding) and shows the width of a node explicitly.
4
CASE STUDIES
To illustrate the usefulness of our Generalized
Pythagoras Tree visualization, we applied it to two
datasets from different application domains—file systems with file sizes as well as the NCBI taxonomy that
classifies species. In these case studies we demonstrate different parameter settings and also show how
interactive features can be applied for exploration.
4.1
File System Hierarchy
While the approach can be applied to any directory
structure, we decided to demonstrate this use case
by reading in the file structure of an early version of
this particular paper. Since we use LATEX for writing,
the paper directory contains multiple text files including temporary files as well as a list of images. Also
included are supplementary documents and a script
used for creating exemplary random information hierarchies. All in all, the directory structure contains 139
Page 9
Voir dans le PDF(s’ouvre dans une nouvelle fenêtre)but also in general. The hierarchy generator directory mostly includes TRE files (Newick format), but
is dominated with respect to size by two TXT files (an
alternative hierarchy format not as space-efficient).
4.2
(a)
(b)
Figure 8: Directory hierarchy of this paper on the file system: (a) size based on the number of leaf nodes with colorcoded depth information; (b) size encoding the file and directory sizes with color-coded file types.
vertices (7 directories and 132 files) having a maximum depth of 4 and a maximum branching factor of
38 (figures directory). Figure 8 shows two visualizations of this directory structure employing different
parameter settings.
In Figure 8 (a), we applied the default settings sizing the vertices in relation to the number of leaf nodes
and using color for encoding depth. The image shows
that, among the main directories, the figures directory
contains by far the most leaf nodes (94) and itself is
split into three further directories, which include the
images needed for the three more complex figures and
tables of this paper: canis (Figure 9), parameters (Table 1), and samples (Table 2). Additionally, figures
also directly includes a number of images, which are
needed for the other figures. The only other directory
containing a reasonable number of files is the hierarchy generator folder; besides the generator script it
contains a number of generated sample datasets.
Customizing the parameters of the visualization
for the use case of investigating file systems, we assigned the file size to the size of the vertices (directory
sizes are the sum of the contained file sizes). Moreover, the file type is encoded in the color of the vertex
(category coding) a legend providing the color–type
assignments; directories are encoded in the color of
the dominating file type of the contained files. The resulting visualization as depicted in Figure 8 (b) shows
that the figures directory is also one of the largest
main directories, but there exist other files and directories that also consume reasonable space such as the
additional material directory. Comparing the size of
the main PDF document to the images directory, it can
be observed that not all image files contained in the directory are integrated into the paper because the paper
is smaller than the images directory. The color-coded
file types reveal that the most frequently occurring
type are PNG files, not only in the images directory
Phylogenetic Tree
Moreover, our approach is tested on a hierarchical
dataset commonly used by the biology and bioinformatics communities. The taxonomy here used has
been developed by NCBI and contains the names
of all organisms that are represented in its genetic
database (Benson et al., 2010). The specific dataset
encoding the taxonomy contains 324,276 vertices
(60,585 classes and 263,691 species) and has a maximum depth of 42. The Generalized Pythagoras Tree
visualization applied to this dataset (Figure 9 I) creates a readable overview visualization of the very
complex and large hierarchical structure. The vertices
of the tree have different sizes according to the number of leaves of their subtrees. Each inner vertex represents a class of species and it is easy to point out
the class that contains more species. The root node
is an artificial class of the taxonomy that contains every species for which a DNA sequence or a protein is
stored in the NCBI digital archive.
At the first level of the tree (see Figure 9 I), a big
node represents cellular organisms and further nodes
the Viruses, Viroids, unclassified species, and others
(this information can be retrieved by using the geometric zoom). Selecting nodes and retrieving additional information facilitate the exploration of the
tree. For instance, the biggest node at level 2 is the
Eukaryota class, which includes all organisms whose
cells contain a membrane-separated nucleus in which
DNA is aggregated in chromosomes; it still contains
177,258 of the 263,691 species.
Besides gaining an overview of the main branches
of the taxonomy, the visualization tool allows for analyzing subsets of the hierarchy down to the level of
individual species by applying semantic zooming. As
a concrete example, we demonstrate the exploration
process in the right part of Figure 9; in each step we
selected the subtree of the highlighted node (red circle): Figure 9 II shows the Amniota class, which belongs to the tetrapoda vertebrata taxis (four-limbed
animals with backbones or spinal columns). In the
next steps (Figure 9 III-V), we followed interesting
branches until we reach the Carnivora class in Figure 9 V, which denotes meat-eating organisms; the
subtree contains 301 species. From here, it is simple
to proceed the exploration towards a well-known animal, such as the common dog, defined as Canis Familiaris, by zooming in the subtrees of Caniformia,
Page 10
Voir dans le PDF(s’ouvre dans une nouvelle fenêtre)III. Eutheria
I. NCBI Taxonomy
IV. Laurasiatheria
II. Amniota
V. Carnivora
Eukaryota
cellular
organisms
others
VIII. Canis Familiaris
VII. Canidae
VI. Caniformia
Figure 9: NCBI taxonomy hierarchically classifying species; rectangles sizes indicate the number of species in a subtree,
color encodes the depth; an example for exploring the taxonomy by semantic zooming is provided.
literally “dog shaped” (Figure 9 VI), then through
Canidae, the family of dogs (Figure 9 VII) with 45
species, and finally Canis Familiaris.
5
DISCUSSION
The introduced technique for representing hierarchical structures is discussed by taking existing
other hierarchy visualization approaches into account.
We applied different standard hierarchy visualization
techniques to a number of randomly generated artificial datasets. The results are listed in Table 2. Each
column represents a different data set with some characteristic feature: a binary hierarchy with a branching factor of 2, a deep hierarchy with many levels, a
flat hierarchy with a high maximum branching factor,
a degenerated hierarchy that grows linearly in depth
with the number of nodes, a symmetric hierarchy having two identical subtrees, and a self-similar hierarchy
following the same pattern at each level. The rows
show standard visualization techniques in comparison
to Generalized Pythagoras Trees. Though the graphics can only act as previews in a printed version of the
paper, they are included in high resolution and are explorable in a digital version. The following analysis
considers multiple levels of abstraction from geometry and perception to readability and aesthetics.
5.1
Geometry and Perception
Hierarchy visualizations aim at showing containment
relationships between nodes and their descendants.
Considering Gestalt theory (Wertheimer, 1923), different approaches exist for visually encoding relationships: for instance, node-link diagrams use connectedness to express containment, while Treemaps
are based on common region for showing that several
nodes belong to the same parent. In contrast, Generalized Pythagoras Trees do neither directly draw a
line between the nodes nor nest one node into the
other, but they draw rectangles of decreasing size onto
an imaginary curve. The human reader automatically
connects the rectangles on the curve, which is denoted
as the law of continuation. In all hierarchy visualization approaches shown in Table 2, proximity also
plays a certain role (i.e., related nodes are placed next
to each other) but should not be overinterpreted (i.e.,
nodes placed next to each other are not necessarily
related).
In node-link diagrams, indented tree diagrams, or
icicle plots, each level in the hierarchy creates another layer in the visualization. As a consequence,
the amount of (vertical) space available for a layer is
reduced when adding further levels. In Generalized
Pythagoras Trees, however, there are no global layers for levels of nodes: adding a level only produces
a kind of local layer that is arranged on a semi circle. With respect to this characteristic, Generalized
Pythagoras Trees are similar to Treemaps, which nei-
Page 11
Voir dans le PDF(s’ouvre dans une nouvelle fenêtre)Aucun texte sur cette page.
Page 12
Voir dans le PDF(s’ouvre dans une nouvelle fenêtre)the nodes according to their importance by using the
number of leaf nodes as a metric as done in Table 2.
Node-link diagrams, indented trees, and icicle plots
are similar in their focus on the higher-level nodes;
as well, lower-level nodes become difficult to discern
because of lack of horizontal space. Since the vertical space assigned to each level does not become
smaller in these visualizations, it is easier to retrieve
the maximum depth of a subtree. Treemaps focus on
leaf nodes and show largely different characteristics.
The ability of a visualization technique to display
also large datasets in a readable way considerably
widens its area of application. As shown in the case
study, Generalized Pythagoras Trees can be used for
browsing large hierarchies such as the NCBI taxonomy. While it is possible to interactively explore large
hierarchies in a similar way with the other paradigms
listed in Table 2, Generalized Pythagoras Trees show
some characteristic scalability advantages: for specifically deep hierarchies such as the one in the second column of Table 2, it adaptively expands into
the direction of the deepest subtree, here in spiral
shape. Comparing it to the other approaches, deep
subtrees are still readable in surprising detail. In contrast for flat hierarchies, which have a specifically
high branching factor, Generalized Pythagoras Trees
do not seem to be as suitable: the size of the nodes
decreases too fast which constrains readability.
For a degenerated hierarchy (Table 2, fourth column), which grows linearly in depth with the number
of nodes, Generalized Pythagoras Trees create an idiosyncratic but readable visualization, similar as it is
the case for the other visualization approaches. Also
a symmetry in a hierarchy such as two identical subtrees (Table 2, fifth column) can be detected: the identical tree creates the same image, which is rotated in
contrast to the other approaches, where it is moved
but not rotated.
A problem limiting the readability of Generalized
Pythagoras Trees is that, depending on the visualized
hierarchy, subtrees might overlap. The other visualization approaches do not share this problem; only
Treemaps also employ a form of overplotting: inner
nodes are overplotted by its direct descendants. While
Treemaps use overplotting systematically, overlap
only occurs occasionally in Generalized Pythagoras
Trees and is unwanted. A simple way to circumvent
the problem using the interactive tool is selecting the
subset of the tree that is overdrawn by another. Also,
reordering the nodes or adapting the parameters of the
algorithm could alleviate the problem.
5.3
Aesthetics
Fractals often show similarities to natural structures
such as trees, leaves, ferns, clouds, coastlines, or
mountains (Peitgen and Saupe, 1988). Among the
images shown in Table 2, the Generalized Pythagoras Trees clearly show the highest similarity to natural tree and branching structures. Since, according to the biophilia hypothesis, humans are drawn towards every form of life (Wilson, 1984), this similarity suggests that Generalized Pythagoras Trees might
be considered as being specifically aesthetic. Also
the property of self-similarity that is partly preserved
when generalizing Pythagoras Trees supports aesthetics: “fractal images are usually complex, however, the
propriety of self-similarity makes these images easier to process, which gives an explanation to why we
usually find fractal images beautiful.” (Machado and
Cardoso, 1998)
6
CONCLUSION AND FUTURE
WORK
In this paper, we introduced an extension of Pythagoras Tree fractals with the goal of using these for visualizing information hierarchies. Instead of depicting only binary trees, we generalize the approach
to arbitrarily branching hierarchy structures. An algorithm for generating these Generalized Pythagoras
Trees was introduced and the fractal characteristics of
the new approach were reported. A set of parameters allows for customizing the approach and creating
a variety of visualizations. In particular, metrics can
be visualized for the nodes. The approach was implemented in an interactive tool. A case study demonstrates the utility of the approach for analyzing large
hierarchy datasets. The theoretical comparison of
Generalized Pythagoras Trees to other hierarchy visualization paradigms, on the one hand, suggested that
the novel approach is capable of visualizing various
features of hierarchies in a readable way comparably
to previous approaches and, on the other hand, might
reveal unique characteristics of the approach such as
an increased distinguishability of the generated images and detectabiltiy of self-similar structures. Further, the approach may have advantages for visualizing deep hierarchies and provides natural aesthetics.
An open research questions is how the overplotting problem of the approach can be solved efficiently
and how the assumed advantages can be leveraged in
practical application. Moreover, formal user studies
have to be conducted to further explore the characteristics of the approach.
Page 13
Voir dans le PDF(s’ouvre dans une nouvelle fenêtre)Acknowledgments
We would like to thank Kay Nieselt, University of
Tübingen, for providing the NCBI taxonomy dataset.
Koike, H. and Yoshihara, H. (1993). Fractal approaches for
visualizing huge hierarchies. In Proceedings of Visual
Languages, pages 55–60.
Kruskal, J. and Landwehr, J. (1983). Icicle plots: Better
displays for hierarchical clustering. The American Statistician, 37(2):162–168.
REFERENCES
Lin, C. C. and Yen, H. C. (2007). On balloon drawings
of rooted trees. Graph Algorithms and Applications,
11(2):431–452.
Andrews, K. and Heidegger, H. (1998). Information slices:
Visualising and exploring large hierarchies using cascading, semicircular disks. In Proceedings of IEEE Symposium on Information Visualization, pages 9–11.
Machado, P. and Cardoso, A. (1998). Computing aesthetics. In Advances in Artificial Intelligence, volume 1515
of Lecture Notes in Computer Science, pages 219–228.
Springer Berlin Heidelberg.
Balzer, M., Deussen, O., and Lewerentz, C. (2005). Voronoi
treemaps for the visualization of software metrics. In
Proceedings of Software Visualization, pages 165–172.
Mandelbrot, B. (1982). The Fractal Geometry of Nature.
W.H. Freeman and Company. New York.
Battista, G. D., Eades, P., Tamassia, R., and Tollis, I. G.
(1999). Graph Drawing: Algorithms for the Visualization of Graphs. Prentice-Hall.
Benson, D. A., Karsch-Mizrachi, I., Lipman, D. J., Ostell,
J., and Sayers, E. W. (2010). Genbank. Nucleic Acids
Research, 38(suppl 1):D46–D51.
Bosman, A. E. (1957). Het wondere onderzoekingsveld der
vlakke meetkunde. Breda, N.V. Uitgeversmaatschappij
Parcival.
Burch, M., Konevtsova, N., Heinrich, J., Höferlin, M.,
and Weiskopf, D. (2011). Evaluation of traditional, orthogonal, and radial tree diagrams by an eye tracking
study. IEEE Transactions on Visualization and Computer
Graphics, 17(12):2440–2448.
Burch, M., Raschke, M., and Weiskopf, D. (2010). Indented
Pixel Tree Plots. In Proceedings of International Symposium on Visual Computing, pages 338–349.
Carrière, S. J. and Kazman, R. (1995). Research report:
Interacting with huge hierarchies: beyond cone trees. In
Proceedings of Information Visualization, pages 74–81.
Devroye, L. and Kruszewski, P. (1995). The botanical
beauty of random binary trees. In Proceedings of Graph
Drawing, pages 166–177.
Eades, P. (1992). Drawing free trees. Bulletin of the Institute
for Combinatorics and its Applications, 5:10–36.
Grivet, S., Auber, D., Domenger, J., and Melançon, G.
(2004). Bubble tree drawing algorithm. In Proceedings of International Conference on Computer Vision
and Graphics, pages 633–641.
Holton, M. (1994). Strands, gravity, and botanical tree
imaginery. Computer Graphics Forum, 13(1):57–67.
Jürgensmann, S. and Schulz, H.-J. (2010). A visual survey
of tree visualization. IEEE Visweek 2010 Posters.
Kleiberg, E., van de Wetering, H., and van Wijk, J. J.
(2001). Botanical visualization of huge hierarchies. In
Proceedings of Information Visualization, pages 87–94.
Koike, H. (1995). Generalized fractal views: A fractalbased method for controlling information display. ACM
Transactions on Information Systems, 13(3):305–324.
McGuffin, M. and Robert, J. (2009). Quantifying the spaceefficiency of 2D graphical representations of trees. Information Visualization, 9(2):115–140.
Nocaj, A. and Brandes, U. (2012). Computing Voronoi
Treemaps: Faster, simpler, and resolution-independent.
Computer Graphics Forum, 31(3):855–864.
Peitgen, H.-O. and Saupe, D., editors (1988). Science of
Fractal Images. Springer-Verlag.
Reingold, E. and Tilford, J. (1981). Tidier drawings of trees.
IEEE Transactions on Software Engineering, 7:223–228.
Rosindell, J. and Harmon, L. (2012). OneZoom: A fractal
explorer for the tree of life. PLOS Biology, 10(10).
Schulz, H.-J. (2011). Treevis.net: A tree visualization
reference. IEEE Computer Graphics and Applications,
31(6):11–15.
Shneiderman, B. (1992). Tree visualization with treemaps: 2-D space-filling approach. ACM Transactions
on Graphics, 11(1):92–99.
Stasko, J. T. and Zhang, E. (2000). Focus+context display
and navigation techniques for enhancing radial, spacefilling hierarchy visualizations. In Proceedings of the
IEEE Symposium on Information Visualization, pages
57–65.
Ware, C. (2004). Information Visualization, Second Edition: Perception for Design (Interactive Technologies).
Morgan Kaufmann, 2nd edition.
Wertheimer, M. (1923). Untersuchungen zur Lehre von der
Gestalt. II. Psychological Research, 4(1):301–350.
Wetherell, C. and Shannon, A. (1979). Tidy drawings
of trees. IEEE Transactions on Software Engineering,
5(5):514–520.
Wilson, E. O. (1984). Biophilia. Harvard University Press.
Yang, J., Ward, M. O., Rundensteiner, E. A., and Patro,
A. (2003). InterRing: A visual interface for navigating
and manipulating hierarchies. Information Visualization,