Jump to content
  • Rose Chart Mod for Spotfire®


    Version 1.0.0, released March 2022

    exchange_-_screenshot_rose_chart_mod_0.png.cce1adafa580c39a2895b2968839a83d.png

    The rose chart is a similar visualization 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.

    image.thumb.png.cc2da856314e436dc6e8353cde1de8b3.png

    Data Requirements

    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.

    Setting Up the Mod

    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.

    The end result will look something like this:

    screen_shot_2022-03-02_at_16_40_28.png.9bbd65bfd8acd821bc91195ead9d9d3d.png

    The chart above shows a sector for each month sized by the average speed and colored by season.

    Configuring the Mod

    screen_shot_2022-03-02_at_16_42_16.png.256a200e2ba36490a73500aa9d840cc9.png

    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.

    Using the Mod

    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.

    Building the Project

    In a terminal window:

    • npm install
    • npm start

    In a new terminal window:

    • npm run server

    Help and Support

    This Mod is not supported by Spotfire® Support.
    In the event of issues or to suggest features and enhancements, submit an issue in the Mod's GitHub repository.
    For general questions about Mods, please post a question in the Forum for Extensions & Mods to make it visible and routed to the appropriate team(s) to respond.

    More Information About Spotfire® Mods


    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...