Using sunburst to further show the hierarchical compositions
The
sunburst
and treemaps
components are used to display quantitative hierarchical data across two dimensions, represented visually by size and color. The treemaps
and sunbursts
components use a shape called a node to reference the data in the hierarchy.
The treemaps
and sunburst
components are very similar when it comes to a model with small differences; so in this recipe, we will use the sunburst
component to display the number of employees in different regions and departments based on color.
In this recipe, the model has been created for you; you can continue from the previous recipe or you can open the project directly by cloning the Sunburst
project from the Git repository.
How to do it...
In order to use sunburst to further show hierarchical compositions, perform the following steps:
Create a new task flow inside the
ViewController
project.Name the task flow
employees-sunburst-flow
.Drag-and-drop a view activity inside the task...