User Guide - Donut Chart Mod For Spotfire® 1.1.3
User Guide - Donut Chart Mod For Spotfire® 1.1.3
Version 1.1.3
The donut chart is functionally identical to a pie chart, with the exception of a blank center and
the ability to support multiple statistics at once. It provides a better data intensity ratio to
standard pie charts since the blank center can be used to display additional data.
For general information on how to use and share visualization mods, read the Spotfire
documentation.
Data Requirement
Every mod handles missing, corrupted and/or inconsistent data in different ways. It is
advised to always review how the data is visualized.
To make the donut chart mod work properly, the data table must be formatted in a certain way.
The type of values on the Y-axis ('Sector size by') needs to be continuous and labeled correctly,
but as long as the correct formatting is followed, all data types are supported in the donut chart.
The type of values on the X-axis ('Color by') needs to be categorical. The center value supports
only numerical values. Data needs to be loaded on both the Y and X-axis and percentages
should be represented on a scale of 0-1.
Formatting
Center values and labels support currency, scientific notation (6 digits), as well as both integer
and real numbers formatting types. By default, decimals in a number are formatted to two digits,
and thousand separators are enabled. Neither of the aforementioned can be changed through
the formatting settings.
Setup
Let's say we have a grocery sales dataset that contains data about prices, costs and sales
volumes for different items:
Configuration
After setting the data, multiple options are available to alter the donut chart appearance live. To
open the appearance options, click the settings button on the top right of the visualization
(available in Edit mode).
Labels
Displays the percentage of the sector rounded to 2 decimal places with multiple appearance
options such as:
● Showing labels for only marked sections, all sectors and/or not showing labels at all.
● Switching the position of labels from inside to outside the sectors.
● Selecting the type of data shown in the sector’s labels. Options available are the
ratio/percentage(default), the sector value and sector category(from the value in the
“Color by”).
You can select all options, a combination of options or none.
Sorting
Sorts sectors by ascending or descending order. Sorting is enabled by default, but it can be
disabled to present the sectors in an unsorted fashion.
Circle Type
Displays the donut as a full circle or as a semi-circle.
Usage
Marking
The donut chart allows for multiple ways of marking and visualizing the selected data by having
the corresponding value be displayed in the center of the donut. Marking data can be done by
clicking on a sector. To mark multiple sectors or add to the marking set, you must click a sector
whilst holding the CTRL key. The donut chart also allows for rectangular marking; whilst holding
down a mouse click and dragging the cursor across the chart, you can mark one or multiple
sectors corresponding to the sectors that the rectangle overlaps with. To unmark all marked
sectors, just click the background of the mods canvas area. To unmark specific sectors from a
subset of marked sectors, just click a marked sector whilst holding the CTRL key to unmark the
marked sector.
Hovering
Hovering over sectors updates the center value to display the highlighted sectors information
and also shows a tooltip with additional information.
Copyright (c) 2023 Cloud Software Group, Inc. All Rights Reserved.