Sunburst or Polar Treemap Plot and Range Plot

버전 2.0.1 (317 KB) 작성자: Muhammad Tauha Ali
Visualize data as sunburst/polar treemap plot or range plot
다운로드 수: 233
업데이트 날짜: 2020/9/6

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

인용 양식

Muhammad Tauha Ali (2024). Sunburst or Polar Treemap Plot and Range Plot (https://github.com/tauha18/sunburst-and-range-plot), GitHub. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음

버전 게시됨 릴리스 정보
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.
Also, improved error handling and added linked to github repository.

1.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.