Treemapping

Treemap of Singapore's exports by product category, 2012. The Product Exports Treemaps are one of the most recent applications of these kind of visualizations, developed by the Harvard-MIT Observatory of Economic Complexity.

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

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.[1] 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 whether 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.[2]
  2. Preserve some sense of the ordering in the input data (ordered).
  3. Change to reflect changes in the underlying data (high stability).

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]

Rectangular treemaps

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

Treemap algorithms[3]
Algorithm Order Aspect ratios Stability
BinaryTree partially ordered high stable
Slice And Dice[4] ordered very high stable
Strip[5] ordered medium medium stability
Pivot by middle[6] ordered medium medium stability
Pivot by split[6] ordered medium low stability
Pivot by size[6] ordered medium medium stability
Split[7] ordered medium medium stability
Spiral[8] ordered medium medium stability
Hilbert[9] ordered medium medium stability
Moore[9] ordered medium medium stability
Squarified[10] ordered low low stability
Mixed Treemaps[11] unordered low medium stability
Approximation[12] unordered low medium stability
Git[13] unordered medium stable
Local moves[14] unordered medium stable

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[15] proved an upper bound of .
  2. De-Berg and Onak and Sidiropoulos[16] improve the upper bound to , and prove a lower bound of .
  3. De-Berg and Speckmann and van-der-Weele[17] 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):

  1. 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.
  2. 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[17] 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
[18] based on Voronoi diagram calculations. The algorithm is iterative and does not give any upper bound on the aspect ratio.
Jigsaw Treemaps[19]
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
[20] based on the geometry of Gosper curves. It is ordered and stable, but has a very high aspect ratio.

History

Hard disk space usage visualized in TreeSize, software first released in 1996

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. [21][22] 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 and 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, particularly in financial contexts.[citation needed]

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] In recent years, treemaps have made their way into the mainstream media, including usage by the New York Times.[23][24] The Treemap Art Project[25] produced 12 framed images for the National Academies (United States), shown at the Every AlgoRiThm has ART in It exhibit[26] in Washington, DC and another set for the collection of Museum of Modern Art in New York.

See also

References

  1. ^ Li, Rita Yi Man; Chau, Kwong Wing; Zeng, Frankie Fanjie (2019). "Ranking of Risks for Existing and New Building Works". Sustainability. 11 (10): 2863. doi:10.3390/su11102863.
  2. ^ Kong, N; Heer, J; Agrawala, M (2010). "Perceptual Guidelines for Creating Rectangular Treemaps". IEEE Transactions on Visualization and Computer Graphics. 16 (6): 990–8. CiteSeerX 10.1.1.688.4140. doi:10.1109/TVCG.2010.186. PMID 20975136. S2CID 11597084.
  3. ^ Vernier, E.; Sondag, M.; Comba, J.; Speckmann, B.; Telea, A.; Verbeek, K. (2020). "Quantitative Comparison of Time-Dependent Treemaps". Computer Graphics Forum. 39 (3): 393–404. arXiv:1906.06014. doi:10.1111/cgf.13989. S2CID 189898065.
  4. ^ Shneiderman, Ben (2001). "Ordered treemap layouts" (PDF). Infovis: 73.
  5. ^ Benjamin, Bederson; Shneiderman, Ben; Wattenberg, Martin (2002). "Ordered and quantum treemaps: Making effective use of 2D space to display hierarchies" (PDF). ACM Transactions on Graphics. 21 (4): 833–854. CiteSeerX 10.1.1.145.2634. doi:10.1145/571647.571649. S2CID 7253456.
  6. ^ a b c Shneiderman, Ben; Wattenberg, Martin (2001). "Ordered treemap layouts". IEEE Symposium on Information Visualization: 73–78.
  7. ^ Engdahl, Björn. Ordered and quantum treemaps: Making effective use of 2D space to display hierarchies.
  8. ^ Tu, Y.; Shen, H. (2007). "Visualizing changes of hierarchical data using treemaps" (PDF). IEEE Transactions on Visualization and Computer Graphics. 13 (6): 1286–1293. doi:10.1109/TVCG.2007.70529. PMID 17968076. S2CID 14206074. Archived (PDF) from the original on Aug 8, 2022.
  9. ^ a b Tak, S.; Cockburn, A. (2013). "Enhanced spatial stability with Hilbert and Moore treemaps" (PDF). IEEE Transactions on Visualization and Computer Graphics. 19 (1): 141–148. doi:10.1109/TVCG.2012.108. PMID 22508907. S2CID 6099935.
  10. ^ Bruls, Mark; Huizing, Kees; van Wijk, Jarke J. (2000). "Squarified treemaps". In de Leeuw, W.; van Liere, R. (eds.). Data Visualization 2000: Proc. Joint Eurographics and IEEE TCVG Symp. on Visualization (PDF). Springer-Verlag. pp. 33–42..
  11. ^ Roel Vliegen; Erik-Jan van der Linden; Jarke J. van Wijk. "Visualizing Business Data with Generalized Treemaps" (PDF). Archived from the original (PDF) on July 24, 2011. Retrieved February 24, 2010.
  12. ^ Nagamochi, H.; Abe, Y.; Wattenberg, Martin (2007). "An approximation algorithm for dissect-ing a rectangle into rectangles with specified areas". Discrete Applied Mathematics. 155 (4): 523–537. doi:10.1016/j.dam.2006.08.005.
  13. ^ Vernier, E.; Comba, J.; Telea, A. (2018). "Quantitative comparison of dy-namic treemaps for software evolution visualization". Conferenceon Software Visualization: 99–106.
  14. ^ Sondag, M.; Speckmann, B.; Verbeek, K. (2018). "Stable treemaps via local moves" (PDF). IEEE Transactions on Visualization and Computer Graphics. 24 (1): 729–738. doi:10.1109/TVCG.2017.2745140. PMID 28866573. S2CID 27739774.
  15. ^ Krzysztof Onak; Anastasios Sidiropoulos. "Circular Partitions with Applications to Visualization and Embeddings". Retrieved June 26, 2011.
  16. ^ Mark de Berg; Onak, Krzysztof; Sidiropoulos, Anastasios (2013). "Fat Polygonal Partitions with Applications to Visualization and Embeddings". Journal of Computational Geometry. 4 (1): 212–239. arXiv:1009.1866.
  17. ^ a b De Berg, Mark; Speckmann, Bettina; Van Der Weele, Vincent (2014). "Treemaps with bounded aspect ratio". Computational Geometry. 47 (6): 683. arXiv:1012.1749. doi:10.1016/j.comgeo.2013.12.008. S2CID 12973376.. Conference version: Convex Treemaps with Bounded Aspect Ratio (PDF). EuroCG. 2011.
  18. ^ Balzer, Michael; Deussen, Oliver (2005). "Voronoi Treemaps". In Stasko, John T.; Ward, Matthew O. (eds.). IEEE Symposium on Information Visualization (InfoVis 2005), 23-25 October 2005, Minneapolis, MN, USA (PDF). IEEE Computer Society. p. 7..
  19. ^ Wattenberg, Martin (2005). "A Note on Space-Filling Visualizations and Space-Filling Curves". In Stasko, John T.; Ward, Matthew O. (eds.). IEEE Symposium on Information Visualization (InfoVis 2005), 23-25 October 2005, Minneapolis, MN, USA (PDF). IEEE Computer Society. p. 24..
  20. ^ Auber, David; Huet, Charles; Lambert, Antoine; Renoust, Benjamin; Sallaberry, Arnaud; Saulnier, Agnes (2013). "Gosper Map: Using a Gosper Curve for laying out hierarchical data". IEEE Transactions on Visualization and Computer Graphics. 19 (11): 1820–1832. doi:10.1109/TVCG.2013.91. PMID 24029903. S2CID 15050386..
  21. ^ Shneiderman, Ben (1992). "Tree visualization with tree-maps: 2-d space-filling approach". ACM Transactions on Graphics. 11: 92–99. doi:10.1145/102377.115768. hdl:1903/367. S2CID 1369287.
  22. ^ Ben Shneiderman; Catherine Plaisant (June 25, 2009). "Treemaps for space-constrained visualization of hierarchies ~ Including the History of Treemap Research at the University of Maryland". Retrieved February 23, 2010.
  23. ^ Cox, Amanda; Fairfield, Hannah (February 25, 2007). "The health of the car, van, SUV, and truck market". The New York Times. Retrieved March 12, 2010.
  24. ^ Carter, Shan; Cox, Amanda (February 14, 2011). "Obama's 2012 Budget Proposal: How $3.7 Trillion is Spent". The New York Times. Retrieved February 15, 2011.
  25. ^ "Treemap Art". Archived from the original on Dec 5, 2023.
  26. ^ "Every AlgoRiThm has ART in it: Treemap Art Project". CPNAS. Archived from the original on Oct 8, 2023.

Read other articles:

British actor This article is about the British actor. For the Canadian politician, see Rupert Davies (politician). Rupert DaviesPortrait by Allan Warren of Davies from 1973 (1916-05-22)22 May 1916BornRupert Lisburn Gwynne DaviesLiverpool, Lancashire, EnglandDied22 November 1976(1976-11-22) (aged 60)London, EnglandResting placePistyll Cemetery, Gwynedd, WalesOccupationActorYears active1940s–1975TelevisionMaigretSpouseJessica Isobel Knowles (m. 1946)Children2AwardsBritish Acade...

 

American restaurant chain Kettle RestaurantsTypePrivateIndustryFoodFounded1968HeadquartersNacogdoches, Texas Kettle Restaurants is Texas-based American restaurant chain. [1] The first location was opened by founder Harry Chambers, Sr. and his brother, Danny, in 1968 in Nacogdoches, Texas. He gained experience managing Toddle House restaurants in Baton Rouge while obtaining an engineering degree at LSU. Soon they opened additional locations. The chain began offering franchise locations...

 

PapiasUskup Hierapolis, Bapa ApostolikMeninggalsetelah tahun 100Dihormati diGereja Katolik Roma, Gereja Katolik TimurPesta22 Februari[1] Papias (bahasa Yunani: Παπίας) adalah seorang Bapa Apostolik, Uskup Hierapolis (sekarang kota Pamukkale, Turki), dan pengarang (~ tahun 100) Eksposisi Perkataan-perkataan Tuhan (bahasa Inggris: Exposition of the Sayings of the Lord; bahasa Yunani: Λογίων Κυριακῶν Ἐξήγησις) dalam lima jilid. Karya ini, sekaran...

Stasiun Itakura Tōyōdai-mae板倉東洋大前駅Stasiun Itakura Tōyōdai-mae pada Agustus 2012Lokasi1-1-1 Asahino, Itakura-machi, Ōra-gun, Gunma-ken 374-0112JepangKoordinat36°13′21″N 139°38′54″E / 36.2224°N 139.6482°E / 36.2224; 139.6482Koordinat: 36°13′21″N 139°38′54″E / 36.2224°N 139.6482°E / 36.2224; 139.6482Pengelola Tōbu RailwayJalur Jalur Tōbu NikkōLetak dari pangkal25.6 km dari Tōbu-Dōbutsu-KōenJumlah per...

 

The Right HonourableThe Countess of IveaghMember of Parliament for SouthendIn office19 November 1927 – 13 November 1935Preceded byViscount ElvedenSucceeded byHenry Channon Personal detailsBornGwendolen Florence Mary Onslow(1881-07-22)22 July 1881Died16 February 1966(1966-02-16) (aged 84)NationalityBritishPolitical partyConservativeSpouseRupert Guinness, 2nd Earl of IveaghChildrenHon. Richard Guinness Lady Honor Channon Arthur Guinness, Viscount Elveden Patricia Lennox-Boyd, Vi...

 

Wiehagen Stadt Hückeswagen Koordinaten: 51° 9′ N, 7° 19′ O51.1488333333337.3129444444444Koordinaten: 51° 8′ 56″ N, 7° 18′ 47″ O Höhe: 320–340 m ü. NN Postleitzahl: 42499 Vorwahl: 02192 Wiehagen (Hückeswagen) Lage von Wiehagen in Hückeswagen Wiehagen ist ein Ortsteil von Hückeswagen im Oberbergischen Kreis im Regierungsbezirk Köln in Nordrhein-Westfalen (Deutschland). Inhaltsverzeichnis 1 Geschichte 2 Lag...

School in Bellville, Western Cape, South AfricaHoërskool BellvilleHoërskool Bellville in 2018Address17 de la Haye AvenueBellville, Western CapeSouth AfricaCoordinates33°53′34.23″S 18°38′55.06″E / 33.8928417°S 18.6486278°E / -33.8928417; 18.6486278InformationSchool typePublic schoolMottoParatus Ad Omnia (translated: Be ready for all)Religious affiliation(s)ChristianityEstablished25 January 1937; 86 years ago (1937-01-25)School districtDis...

 

Cet article recense les monuments et sites historiques de la région de Dakar au Sénégal. Liste Monument Département Localité Coordonnées Notes Code Arrêté Illus. Île de Gorée Dakar / Pikine Gorée 14° 40′ 06″ N, 17° 23′ 57″ O Inscrit au Patrimoine mondial de l'UNESCO 2006DAKARPIKINE01 Cap Manuel Dakar / Pikine 14° 38′ 51″ N, 17° 25′ 57″ O Site préhistorique et géologique 2006DAKARPIKINE02 Casino du Por...

 

Harmusa OktavianiAnggota Dewan Perwakilan Rakyat Republik IndonesiaPetahanaMulai menjabat 1 Oktober 2014PresidenJoko WidodoPerolehan suara75.995 (2019) [1]Daerah pemilihanJawa Tengah III Informasi pribadiLahir16 Oktober 1992 (umur 31)RembangKebangsaanIndonesiaPartai politik  DemokratAlma materUniversitas DiponegoroSunting kotak info • L • B Harmusa Oktaviani (lahir 16 Oktober 1992) adalah anggota DPR-RI selama periode2019–2024. Ia mewakili daerah pem...

English television presenter, journalist and writer (born 1960) Jeremy ClarksonClarkson in 2012BornJeremy Charles Robert Clarkson[1] (1960-04-11) 11 April 1960 (age 63)[1]Doncaster, West Riding of Yorkshire, England[1]EducationHill House SchoolRepton SchoolOccupationsJournalistpresentercolumnistwriterfarmerYears active1988–presentEmployers Amazon Prime Video The Sun The Sunday Times ITV BBC (1988–2015) Known for The Grand Tour (since 2016) Top Gear (...

 

  لمعانٍ أخرى، طالع كلي (توضيح). الكلي (جمعها كليات) في الفلسفة هو أحد أصناف الكيانات العقلية المجردة المستقلة حسب ما تعرفها الفلسفة الواقعية، حيث يفترض أن هذه الكليات هي التي تؤسس وتشرح العلاقة بين الماهيات النوعية والتشابه بين الأفراد.[1][2] يمكننا أن نقول عن ا...

 

SpaceX satellite constellation and internet service This article is about the SpaceX satellite internet service. For other uses, see Starlink (disambiguation). Starlink60 Starlink satellites stacked together before deployment on 24 May 2019ManufacturerSpaceXCountry of originUnited StatesOperatorSpaceXApplicationsInternet serviceWebsitewww.starlink.com ASN14593 SpecificationsSpacecraft typeSmall satelliteLaunch mass v 0.9: 227 kg (500 lb) v 1.0: 260 kg (570 lb) v 1.5: ~306&...

Schematic view on Sisu Nemo structure. Sisu Nemo is a hydraulic radial piston motor type developed and initially produced by Suomen Autoteollisuus (SAT). The system was patented in 1961. The motor produces a high torque at low speed and it has been primarily used to power both civil and military lorry trailers. A number of other applications have been designated for various industrial applications. Development The idea of the motor came from DI Ilmari Louhio who worked in SAT as design engine...

 

Sony brand of camcorders This article is about the Betamax-based consumer camcorder line. It is not to be confused with the related but incompatible professional camcorder format, Betacam. BetamovieSony Betamovie BMC-100PIntroducedMay 1983[1]EncodingNTSC, PALRecording mediaBetamax cassetteRecording time on L-830 cassette:PALUp to 216 min.NTSCBI: Up to 100 min.BII: Up to 200 min.BIII: Up to 300 min.Write mechanismSingle head Helical scanPlaybackNot availableIntended usageHome moviesMar...

 

Trilogy of fantasy novels by Mercedes Lackey The Last Herald-Mage1990 omnibus editionMagic's PawnMagic's PromiseMagic's PriceAuthorMercedes LackeyCover artistJody Lee, Dawn WilsonCountryUnited StatesLanguageEnglishGenreFantasyPublisherDAW BooksPublished1989–90Media typePrint The Last Herald-Mage is a trilogy of fantasy novels by American author Mercedes Lackey, published from 1989 to 1990. The story centers around a mage named Vanyel Ashkevron who lives in the fictional kingdom of Valdemar....

Схема прохождения звука от источника через микрофон, АЦП, процессор, ЦАП, громкоговоритель и снова в звук Цифрово́й звук — результат преобразования аналогового сигнала звукового диапазона в цифровой аудиоформат. Простейший метод преобразования, импульсно-кодовая м...

 

This article is an orphan, as no other articles link to it. Please introduce links to this page from related articles; try the Find link tool for suggestions. (December 2018) This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Thatha Hakiman – news · newspapers · books · scholar · JSTOR (August 2017) (Learn how and when to remove...

 

2010 Greenlandic filmInukDirected byMike MagidsonWritten byMike MagidsonJean-Michel HuctinProduced byAnn AndreasenMike MagidsonMarc BuriotSylvie BarbeStarringOle Jørgen HammekenGaaba PetersenRebekka JørgensenSara LyberthInunnguaq JeremiassenElisabeth SkadeEdited byCecile CoolenMusic byJustin La ValleeKarina MollerRobert Peary HIVSHURelease dates October 2, 2010 (2010-10-02) (Woodstock Film Festival) May 11, 2012 (2012-05-11) (Greenland) Running time90 m...

American TV series or program Traveling ManWritten byDavid TaylorDirected byIrvin KershnerStarringJohn LithgowJonathan SilvermanMargaret ColinJohn GloverJohn M. JacksonChynna PhillipsComposerMiles GoodmanCountry of originUnited StatesOriginal languageEnglishProductionProducerThomas M. HammelCinematographyWilliam WagesEditorsSidney KatzVirginia KatzRunning time105 minutesProduction companyHBO PicturesOriginal releaseNetworkHBORelease June 25, 1989 (1989-06-25) Traveling Man...

 

Kiama Blowhole Kiama Blowhole adalah blowhole yang terletak di kota Kiama, New South Wales, Australia. Blowhole ini merupakan atraksi pariwisata utama untuk kota ini. Pada kondisi laut tertentu, blowhole ini dapat memancurkan air setinggi 25 meter. Air yang dipancurkan dapat dengan mudah membasah kuyupkan orang-orang yang ada disekitarnya. Blowhole ini merupakan blowhole terbesar di dunia. Lihat pula Kiama Wollongong Artikel bertopik geografi atau tempat Australia ini adalah sebuah rintisan. ...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!