Visualization of Large Hierarchical Data by Circle Packing
Visualization of Large Hierarchical Data by Circle Packing
517
CHI 2006 Proceedings • Visualization and Search April 22-27, 2006 • Montréal, Québec, Canada
be updated when a new circle is added as shown in Figure 1. packing is robust and fast. The CPU time is only 0.005
The front-chain is represented by a double list. The center, seconds. The number of circles on the front-chain is 115.
the radius and the distance from the origin of each circle are
stored. Cj C n (C j )
Ci
Ci
C1 Ci
O C3
C2
Cm Cn Cm
(a) (b) (c) (d) (e) (a) Ci intersects with Cj (b) Calculate Ci tangent to
Figure 1. Update front-chain after a new circle is added after Cn on front-chain Cm and Cn(Cj)
To simplify, the first three circles, denoted by C1, C2 and C3, Cn Cn
are placed tangent to each other around the origin O(0,0) as Ci
Ci
shown in Figure 1(a). The initial front-chain is recorded in a
double directed linked list {C1↔C2↔C3↔C1}. Let Cm be
the nearest circle to the origin on the front-chain and Cn Cj C m (C j )
Cm
(n=m+1) be the next circle of Cm on the front-chain as
shown in Figure 2(a). The algorithm of circle packing is (c) Ci intersects with Cj (d) Calculate Ci tangent to
before Cm on front-chain Cm (Cj) and Cn
described in detail as follows.
Figure 3. Ci intersects with Cj on the front-chain then
(i) Calculate the center of Ci according to the radius ri and calculate new Ci tangent to Cj
the tangency of circle Ci to Cm and Cn.
(ii) Search the front-chain and find out the circle Cj (j≠m
and j≠n) intersecting with Ci.
(iii) If Ci does not intersect with any circle on the front-
chain, Ci is added to the front-chain directly, and packing Ci
is terminated. The front-chain is updated to include Ci, such
that {…Cm↔Cn…} becomes {…Cm↔Ci↔ Cn…} as shown
in Figure 2.
(iv) If Ci intersects with Cj, and Cj is a circle after Cn on the
front-chain as shown in Figure 3(a), then the segments from
Cm to Cj have to be deleted from the front-chain and the (a) (b)
circle Cn is set by Cj. Go to step (i). A new position of Ci Figure 4. Packing 1000 circles with random radii
tangent to the two circles Cm and Cn (Cj) will be calculated
as shown in Figure 3(b). The circles of different radii are suitable for representing
(v) If Ci intersects with Cj, and Cj is a circle before Cm on large numbers of brother nodes. There is no overlapping
the front-chain as shown in Figure 3(c), then the segments between any two circles, which ensures each circle is
from Cj to Cn have to be deleted from the front-chain and visible. The circles are to be packed as close as possible to
the circle Cm is set by Cj. Go to step (i). A new position of save display space. A new circle is always placed outside
Ci tangent to the two circles Cm (Cj) and Cn will be the front-chain and beside the circle whose center is nearest
calculated as shown in Figure 3(d). to the origin, which ensures that the shape of front-chain is
basically convex like a circle as shown in Figure 4(a). The
For i =4 to N, repeat the process above. circle-like shape is suitable for using a smaller circle to
contain it.
Ci
Ci 2. Packing tree nodes
518
CHI 2006 Proceedings • Visualization and Search April 22-27, 2006 • Montréal, Québec, Canada
check box allows the user to set if the circles are labeled by
the file names or folder names. The “2D/3D view” button
allows the user to see the nested circles or 3D nested
cylinders in the left view.
519
CHI 2006 Proceedings • Visualization and Search April 22-27, 2006 • Montréal, Québec, Canada
minified view freely. If the clicking point is in a smaller system hierarchies. Most users in test give a positive rating.
circle, the circle will zoom in; if the clicking point is The nested circles technique has many future researches,
outside of a circle bigger than the window left of the such as introducing fisheye lens to visualization by the
interface, the circle will zoom out. It is easy to determine if nested circles, improving 3D visualization, enhancing the
a clicking point is in a circle or not. For example, the interactive controls, evaluating the usability of the nested
clicking point is in the circle (MyInfor/Document/MyDoc) circles visualization.
at the bottom of the overview in Figure 6(a), the circle
becomes the focus and its details are displayed as shown in ACKNOWLEDGMENTS
Figure 6(b). Figure 6(c) shows 3D overview turned from We thank the financial support from National Key Basic
Figure 6(a). Among, the cylinders represent the internal Research and Development Program, No. 2002CB312103
nodes (directories) and the spheres represent the leaf nodes and National Natural Science Foundation of China, No.
(files). 60373056 and 60303019. We thank Professor S. H. Lo for
revising our paper. We thank the anonymous reviewers for
USER FEEDBACK valuable guidance. We also thank the students who gave us
The file visualization tool (FVT) has been used by twenty- feedback.
one students in our laboratory. The students were very
familiar with Windows Explorer before. When we REFERENCES
introduced FVT to them, they all felt interested in it. After 1. Bederson, B.B., Shneiderman, B. Ordered and Quantum
they used it two weeks, eighteen students gave us Treemaps: Making Effective Use of 2D Space to
anonymous feedbacks. In all there were a 67 percent Display Hierarchies. ACM Transactions on Graphics,
positive rating, a 22 percent neutral rating and an 11 percent 21, 4 (2002), 833–854.
negative rating. Their comments are generalized as follows: 2. Chi, E.H., Pitkow, J., Mackinlay, J., Pirolli, P.,
It is robust and efficient even for thousands of files; The Gossweiler, R., Card, S.K. Visualizing the evolution of
interface is friendly and it is easy to use; The user interface Web ecologies. In Proc. CHI 1998, ACM Press (1998),
needs less operation than the traditional files management 400-407.
system to reach some goals as finding a target file, so this
new UI has a relatively high efficiency; The visualization 3. Grokker. http://www.grokker.com
could give the users a very clear bird view of the whole 4. Heer, J., Card, S.K. DOITrees Revisited: Scalable,
files; It provided more information including not only the Space-Constrained Visualization of Hierarchical Data.
directory structures but also the file attributes; Because of In Proc. AVI2004, ACM Press (2004), 421-424.
your visualization, I can quickly find a file with an exact 5. Johnson, B., Shneiderman, B. Tree-Maps: A Space-
directory; Your zooming is convenient, I can quickly zoom Filling Approach to the Visualization of Hierarchical
to a very deep level by clicking only one or two times; The Information. In Proc. Visualization 1991, IEEE (1991),
dynamic query sliders are useful to find files. I felt very 284–291.
comfortable when using the visualization tool and hope to
use it again; It is better to use icons to represent file types; 6. Lamping, J., Rao, R., Pirolli, P. A focus+context
It is difficult to display a long file name fully; There is not technique based on hyperbolic geometry for visualizing
file name as shown in 3D view; It is difficult to do a large hierarchies. In Proc. CHI 1995, ACM Press
copy/cut and paste operation. These comments encourage (1995), 1-8.
us to improve it further. 7. Robertson, G.G., Mackinlay, J.D., Card, S.K. Cone
trees: Animated 3d visualization of hierarchical
CONCLUSION information. In Proc. CHI 1991, ACM Press (1991),
This paper presents a new technique for the visualization of 189-194.
large hierarchy via the use of nested circles. The layout
8. Stasko, J., Zhang, E. Focus+context display and
algorithm for tree visualization is described. The results of
navigation techniques for enhancing radial, space-filling
the algorithm lead to a simultaneously clearer and more
hierarchy visualization. In Proc. Information
compact visualization of a hierarchy than rectangular views
Visualization 2000, IEEE (2000), 57-65.
and node-link diagrams. The visualization has the
advantage over rectangular layouts of allowing even very 9. Van Ham, F., Van Wijk, J.J. Beamtrees: Compact
small (leaf) nodes to remain visible without contorted visualization of large hierarchies, In Proc. Information
aspect ratios. Though the use of display space is not more Visualization 2002, IEEE (2002), 31–39.
efficient than rectangular layouts, the space is helpful to see 10. Van Wijk, J.J., Van de Wetering, H. Cushion Treemaps:
structural relationships and is easy to select (click) a node. Visualization of Hierarchical Information. In Proc.
The technique has been applied to the visualization of file Information Visualization 1999, IEEE (1999), 73-78.
520