Visualize data as sunburst/polar treemap plot or range plot
Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
plotdemo.m will generate the figure shown in the image.
sunburstplot.m creates polar treemap of hierarchical data. The data can either be supplied as .csv or through interactive selection in an excel spreadsheet. Data should be without any headers. All columns should contain sector labels except the optional last column which can contain numbers associated with each category. The plot nomenclature is as follows:
1. First circle is referred to as root (root usually contains the title of plotted data)
2. Second circle is referred to as branches (used to assign colors as in excel)
3. Higher circles/rings are referred to as leaves (Currently only three leaves are allowed)
Possible improvements:
The visualization of sector labels can be improved by measuring the extent of sector and adopting accordingly. The code is written in a loop fashion instead of in a recursive fashion which can reduce code lines but becomes difficult to understand (this is the case for myself).
Majority of the sunburst data (data in testdata.csv and testdata.xlsx) is taken from: https://plotly.com/python/sunburst-charts/
rangedotplot.m is a modified version of plotStickers to visualize ranges and highlight any value within that range
Zitieren als
Muhammad Tauha Ali (2026). Sunburst or Polar Treemap Plot and Range Plot (https://github.com/tauha18/sunburst-and-range-plot), GitHub. Abgerufen .
Quellenangaben
Inspiriert von: donut, plotStickers | Plot data series with patch stickers to represent value range, Generate maximally perceptually-distinct colors
Allgemeine Informationen
- Version 2.0.1 (317 KB)
-
Lizenz auf GitHub anzeigen
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 2.0.1 | updated screenshot |
||
| 2.0.0 | Updated sunburstplot to have radial option for label rotation, ability to specify clockwise or ccw plotting diection and starting angle and added separate patch and text handles.
|
||
| 1.0.0 |
