Skip to content
Arnaud Varin edited this page Aug 31, 2023 · 2 revisions

This Mod for Spotfire® is similar to a usual pie chart, except sectors are equal angles and differ rather in how far each sector extends from the center of the circle. Therefore, it’s important to notice with the rose chart that it’s the area, rather than the radius of a segment that represents its value.

A common use of a rose chart is in showing wind speed or noise levels. The 'axes' for the graph are the directions of a compass and the speed of the wind or the decibel level is then drawn in the appropriate direction.

Installation

Opening the visualization in Spotfire® Analyst

  1. From this repository Releases section, locate and download the .mod file.
  2. Drag the .mod file into an analysis in Spotfire® Analyst.

For information on how to use and share visualizations mods, read the Spotfire® documentation.

Running the project in Spotfire®

  1. From this repository Releases section, locate and download the source code.
  2. Build the project in your preferred code editor. Microsoft Visual Studio Code is highly recommended.
  3. Open an analysis in Spotfire® and select Tools > Development > Create visualization mod from the menubar to connect to the project.

For information on how to get started with visualization mod development, 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 rose chart mod work properly, the data table must be formatted in a certain way. A data table with at least two columns is required. One column should contain the sectors categories. A second column should contain the value for each sector.

Setup

In this example dataset, we have three columns: Month, Season, Avg Speed

Month Season Avg Speed
January Winter 9.37
February Winter 10.06
March Spring 11.02
April Spring 11.28
May Spring 10.54
June Summer 9.79
July Summer 8.91
August Summer 8.17
September Fall 8.42
October Fall 8.87
November Fall 9.28
December Winter 9.31

In the rose chart configuration in Spotfire, we would specify the 'Month' column from the data table above as our Hierarchy axis and the 'Avg Speed' column as our Size by axis. We can also us the 'Season' column as our Color by axis.

Configuration

Once the rose chart is configured and has data provided, you can configure when to show sectors labels and also show/hide background circles. These settings are accessed in Editing mode by clicking the settings button on the top right corner of the visualization.

Usage

The rose chart supports marking data and filtering data. Clicking on a sector will mark it. The rose chart also allows marking of multiple sectors using rectangular marking; whilst holding down the 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 visualization canvas area.