请输入您要查询的百科知识:

 

词条 Treemapping
释义

  1. Main idea

  2. Tiling algorithms

  3. Rectangular treemaps

  4. Convex treemaps

      Orthoconvex treemaps  

  5. Other treemaps

  6. History

  7. See also

  8. References

  9. External links

In information visualization and computing, treemapping is a method for displaying hierarchical data using nested figures, usually rectangles.

Main idea

Treemaps display hierarchical (tree-structured) data as a set of nested rectangles. Each branch of the tree is given a rectangle, which is then tiled with smaller rectangles representing sub-branches. A leaf node's rectangle has an area proportional to a specified dimension of the data. Often the leaf nodes are colored to show a separate dimension of the data.

When the color and size dimensions are correlated in some way with the tree structure, one can often easily see patterns that would be difficult to spot in other ways, such as if a certain color is particularly relevant. A second advantage of treemaps is that, by construction, they make efficient use of space. As a result, they can legibly display thousands of items on the screen simultaneously.

Tiling algorithms

To create a treemap, one must define a tiling algorithm, that is, a way to divide a region into sub-regions of specified areas. Ideally, a treemap algorithm would create regions that satisfy the following criteria:

  1. A small aspect ratio—ideally close to one. Regions with a small aspect ratio (i.e, fat objects) are easier to perceive.&91;1&93;
  2. Preserve some sense of the ordering in the input data.
  3. Change to reflect changes in the underlying data.

Unfortunately, these properties have an inverse relationship. As the aspect ratio is optimized, the order of placement becomes less predictable. As the order becomes more stable, the aspect ratio is degraded.{{Example needed|date=December 2018}}

Rectangular treemaps

To date, six primary rectangular treemap algorithms have been developed:

Treemap algorithms[2]
Algorithm Order Aspect ratios Stability
BinaryTree partially orderedhigh stable
Mixed Treemaps[2] orderedlowest stable
Ordered and Quantum[3] partially orderedmedium medium stability
Slice And Dice[4] orderedvery high stable
Squarified[5]date=March 2018|reason=What is the different between ordered and unordered?}}lowest medium stability
Strip[6] orderedmedium medium stability

Convex treemaps

Rectangular treemaps have the disadvantage that their aspect ratio might be arbitrarily high in the worst case. As a simple example, if the tree root has only two children, one with weight and one with weight , then the aspect ratio of the smaller child will be , which can be arbitrarily high.

To cope with this problem, several algorithms have been proposed that use regions that are general convex polygons, not necessarily rectangular.

Convex treemaps were developed in several steps, each step improved the upper bound on the aspect ratio. The bounds are given as a function of - the total number of nodes in the tree, and - the total depth of the tree.

1. Onak and Sidiropoulos[7] proved an upper bound of .

2. De-Berg and Onak and Sidiropoulos[8] improve the upper bound to , and prove a lower bound of .

3. De-Berg and Speckmann and van-der-Weele[9] improve the upper bound to , matching the theoretical lower bound.

  • For the special case where the depth is 1, they present an algorithm that uses only four classes of 45-degree-polygons (rectangles, right-angled triangles, right-angled trapezoids and 45-degree pentagons), and guarantees an aspect ratio of at most 34/7.

The latter two algorithms operate in two steps (greatly simplified for clarity):

  • A. The original tree is converted to a binary tree: each node with more than two children is replaced by a sub-tree in which each node has exactly two children.
  • B. Each region representing a node (starting from the root) is divided to two, using a line that keeps the angles between edges as large as possible. It is possible to prove that, if all edges of a convex polygon are separated by an angle of at least , then its aspect ratio is . It is possible to ensure that, in a tree of depth , the angle is divided by a factor of at most , hence the aspect ratio guarantee.

Orthoconvex treemaps

In convex treemaps, the aspect ratio cannot be constant - it grows with the depth of the tree.

To attain a constant aspect-ratio, Orthoconvex treemaps[9] can be used. There, all regions are orthoconvex rectilinear polygons with aspect ratio at most 64; and the leaves are either rectangles with aspect ratio at most 8, or L-shapes or S-shapes with aspect ratio at most 32.

  • For the special case where the depth is 1, they present an algorithm that uses only rectangles and L-shapes, and the aspect ratio is at most ; the internal nodes use only rectangles with aspect ratio at most .

Other treemaps

Voronoi Treemaps[10] - based on Voronoi diagram calculations. The algorithm is iterative and does not give any upper bound on the aspect ratio.

Jigsaw Treemaps[11] - based on the geometry of space-filling curves. They assume that the weights are integers and that their sum is a square number. The regions of the map are rectilinear polygons and highly non-ortho-convex. Their aspect ratio is guaranteed to be at most 4.

GosperMaps[12] - based on the geometry of Gosper curves. It is ordered and stable, but has a very high aspect ratio.

History

Area-based visualizations have existed for decades. For example, mosaic plots (also known as Marimekko diagrams) use rectangular tilings to show joint distributions (i.e., most commonly they are essentially stacked column plots where the columns are of different widths). The main distinguishing feature of a treemap, however, is the recursive construction that allows it to be extended to hierarchical data with any number of levels. This idea was invented by professor Ben Shneiderman at the University of Maryland Human – Computer Interaction Lab in the early 1990s.

[13][14] Shneiderman and his collaborators then deepened the idea by introducing a variety of interactive techniques for filtering and adjusting treemaps.

These early treemaps all used the simple "slice-and-dice" tiling algorithm. Despite many desirable properties (it is stable, preserves ordering, and is easy to implement), the slice-and-dice method often produces tilings with many long, skinny rectangles. In 1994 Mountaz Hascoet & Michel Beaudouin-Lafon invented a "squarifying" algorithm, later popularized by Jarke van Wijk, that created tilings whose rectangles were closer to square. In 1999 Martin Wattenberg used a variation of the "squarifying" algorithm that he called "pivot and slice" to create the first Web-based treemap, the SmartMoney Map of the Market, which displayed data on hundreds of companies in the U.S. stock market. Following its launch, treemaps enjoyed a surge of interest, especially in financial contexts.{{Citation needed|date=August 2008}}

A third wave of treemap innovation came around 2004, after Marcos Weskamp created the Newsmap, a treemap that displayed news headlines. This example of a non-analytical treemap inspired many imitators, and introduced treemaps to a new, broad audience.{{Citation needed|date=March 2010}} In recent years, treemaps have made their way into the mainstream media, including usage by the New York Times.[15][16]

The Treemap Art Project produced 12 framed images for the National Academies (United States), shown the Every AlgoRiThm has ART in It exhibit in Washington, DC and another set for the collection of Museum of Modern Art in New York.

{{-}}

See also

  • Disk space analyzer
  • Information visualization
  • List of countries by economic complexity, which includes a list of Products Exports Treemaps.
  • Marimekko Chart, a similar concept with one level of explicit hierarchy.

References

1. ^{{cite journal|doi=10.1109/TVCG.2010.186|pmid=20975136|title=Perceptual Guidelines for Creating Rectangular Treemaps|journal=IEEE Transactions on Visualization and Computer Graphics|volume=16|issue=6|pages=990–8|year=2010|last1=Kong|first1=N|last2=Heer|first2=J|last3=Agrawala|first3=M|citeseerx=10.1.1.688.4140}}
2. ^{{cite web |url=http://www.magnaview.nl/documents/Visualizing_Business_Data_with_Generalized_Treemaps.pdf |title=Visualizing Business Data with Generalized Treemaps |author=Roel Vliegen |author2=Erik-Jan van der Linden |author3=Jarke J. van Wijk |accessdate=February 24, 2010 |deadurl=yes |archiveurl=https://web.archive.org/web/20110724160547/http://www.magnaview.nl/documents/Visualizing_Business_Data_with_Generalized_Treemaps.pdf |archivedate=July 24, 2011 |df= }}
3. ^{{cite journal|doi=10.1145/571647.571649|title=Ordered and quantum treemaps: Making effective use of 2D space to display hierarchies|journal=ACM Transactions on Graphics|volume=21|issue=4|pages=833|year=2002|last1=Bederson|first1=Benjamin B.|last2=Shneiderman|first2=Ben|last3=Wattenberg|first3=Martin|citeseerx=10.1.1.145.2634}}
4. ^{{cite journal |last1=Shneiderman |first1=Ben |title=Ordered treemap layouts |journal=Infovis |date=2001 |page=73 |url=http://cvs.cs.umd.edu/~ben/papers/Shneiderman2001Ordered.pdf}}
5. ^{{Cite book| last1 = Bruls | first1 = Mark | last2 = Huizing | first2 = Kees | last3 = van Wijk | first3 = Jarke J. | editor1-last = de Leeuw | editor1-first = W. | editor2-last = van Liere | editor2-first = R. | contribution = Squarified treemaps | pages = 33–42 | publisher = Springer-Verlag | title = Data Visualization 2000: Proc. Joint Eurographics and IEEE TCVG Symp. on Visualization | url = http://www.win.tue.nl/~vanwijk/stm.pdf | year = 2000| postscript = {{inconsistent citations}} }}.
6. ^{{cite journal |last1=Benjamin |first1=Bederson |last2=Shneiderman |first2=Ben |last3=Wattenberg |first3=Martin |title=Ordered and quantum treemaps: Making effective use of 2D space to display hierarchies |journal=AcM Transactions on Graphics (TOG) |date=2002 |volume=21 |issue=4 |pages=833–854 |url=http://www.cs.umd.edu/hcil/trs/2001-18/2001-18.pdf|doi=10.1145/571647.571649 |citeseerx=10.1.1.145.2634 }}
7. ^{{cite web |url=http://people.csail.mit.edu/konak/papers/socg_2008-circular_partitions_with_applications_to_visualization_and_embeddings.html |title= Circular Partitions with Applications to Visualization and Embeddings |author=Krzysztof Onak |author2=Anastasios Sidiropoulos |accessdate=June 26, 2011}}
8. ^{{cite arxiv|eprint=1009.1866|author1=Mark de Berg|title=Fat Polygonal Partitions with Applications to Visualization and Embeddings| last2=Onak| first2=Krzysztof| last3=Sidiropoulos| first3=Anastasios| class=cs.CG| year=2010}}
9. ^{{cite journal|doi=10.1016/j.comgeo.2013.12.008|arxiv=1012.1749|title=Treemaps with bounded aspect ratio|journal=Computational Geometry|volume=47|issue=6|pages=683|year=2014|last1=De Berg|first1=Mark|last2=Speckmann|first2=Bettina|author2-link=Bettina Speckmann|last3=Van Der Weele|first3=Vincent}}. Conference version: {{cite conference|url=http://alexandria.tue.nl/openaccess/Metis253577.pdf|title=Convex Treemaps with Bounded Aspect Ratio|conference=EuroCG|year=2011}}
10. ^{{Cite conference| last1 = Balzer | first1 = Michael | last2 = Deussen | first2 = Oliver | editor1-last = Stasko| editor1-first = John T. | editor2-last = Ward | editor2-first = Matthew O. | contribution = Voronoi Treemaps | pages = 7 | publisher = IEEE Computer Society | title = IEEE Symposium on Information Visualization (InfoVis 2005), 23-25 October 2005, Minneapolis, MN, USA | url = http://graphics.uni-konstanz.de/publikationen/2005/voronoi_treemaps/Balzer%20et%20al.%20--%20Voronoi%20Treemaps.pdf | year = 2005}}.
11. ^{{Cite conference| last1 = Wattenberg | first1 = Martin | editor1-last = Stasko| editor1-first = John T. | editor2-last = Ward | editor2-first = Matthew O. | contribution = A Note on Space-Filling Visualizations and Space-Filling Curves | pages = 24 | publisher = IEEE Computer Society | title = IEEE Symposium on Information Visualization (InfoVis 2005), 23-25 October 2005, Minneapolis, MN, USA | url = http://hint.fm/papers/158-wattenberg-final3.pdf | year = 2005 }}.
12. ^{{Cite journal| last1 = Auber | first1 = David | title = Gosper Map: Using a Gosper Curve for laying out hierarchical data | last2 = Huet | first2 = Charles | last3 = Lambert | first3 = Antoine | last4 = Renoust | first4 = Benjamin | last5 = Sallaberry | first5 = Arnaud | last6 = Saulnier | first6 = Agnes | pages = 1820–1832 | volume = 19 | issue = 11 | journal = IEEE Transactions on Visualization and Computer Graphics | url = http://www.computer.org/csdl/trans/tg/2013/11/ttg2013111820-abs.html | year = 2013| pmid = 24029903 | doi = 10.1109/TVCG.2013.91}}.
13. ^{{cite journal|doi=10.1145/102377.115768|title=Tree visualization with tree-maps: 2-d space-filling approach|journal=ACM Transactions on Graphics|volume=11|pages=92–99|year=1992|last1=Shneiderman|first1=Ben}}
14. ^{{cite web |url=http://www.cs.umd.edu/hcil/treemap-history/index.shtml |title=Treemaps for space-constrained visualization of hierarchies ~ Including the History of Treemap Research at the University of Maryland|author=Ben Shneiderman |author2=Catherine Plaisant |date=June 25, 2009 |accessdate=February 23, 2010}}
15. ^{{cite news|url=https://www.nytimes.com/imagepages/2007/02/25/business/20070225_CHRYSLER_GRAPHIC.html|title=The health of the car, van, SUV, and truck market|date=February 25, 2007|accessdate=March 12, 2010 | work=The New York Times | first1=Amanda | last1=Cox | first2=Hannah | last2=Fairfield}}
16. ^{{cite news|url=https://www.nytimes.com/packages/html/newsgraphics/2011/0119-budget/index.html?hp|title=Obama's 2012 Budget Proposal: How $3.7 Trillion is Spent |date=February 14, 2011|accessdate=February 15, 2011 | work=The New York Times | first1=Shan | last1=Carter | first2=Amanda | last2=Cox}}

External links

{{Commons category|Treemaps}}
  • Treemap Art Project produced exhibit for the National Academies in Washington, DC
  • An article by Ben Shneiderman on the use of treemaps (as a guest on www.perceptualedge.com  )
  • Comprehensive survey and bibliography of Tree Visualization techniques
  • [https://web.archive.org/web/20110724160547/http://www.magnaview.nl/documents/Visualizing_Business_Data_with_Generalized_Treemaps.pdf Generalized treemaps]
  • History of Treemaps by Ben Shneiderman.
  • [https://dx.doi.org/10.1006/ijhc.1995.1053 Hypermedia exploration with interactive dynamic maps] Paper by Zizi and Beaudouin-Lafon introducing the squarified treemap layout algorithm (named "improved treemap layout" at the time).
  • Indiana University description
  • Live interactive treemap based on crowd-sourced discounted deals from Flytail Group
  • Treemap sample in English from The Hive Group
  • Several treemap examples made with Macrofocus TreeMap
  • Visualizations using dynamic treemaps and treemapping software by drasticdata
  • [https://web.archive.org/web/20130525054106/http://atlas.media.mit.edu/explore/tree_map/export/deu/all/show/2009/ Product Exports Treemaps developed by the Harvard-MIT Observartory of Economic Complexity]
  • newsmap.jp is a treemap of Google news stories
{{Visualization}}

5 : User interface techniques|Infographics|Statistical charts and diagrams|Trees (data structures)|Visualization (graphic)

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/12 7:29:11