Jump to content
  • Tag Mod for Spotfire®


    Version 1.1.0, released January 2022

    exchange_-_screenshot_tag_mod_0.png.1411bb2bf8a0bb0508195563691296c5.png

     

    The tag visualization mod displays a set of selectable tags that can be used to query a dataset based on keywords.

    Each tag represents a unique comma separated value in a column. Selecting a tag will mark all rows where the corresponding value occurs. This marking can then be used to limit the data displayed in other visualizations.

    image.thumb.png.50509f8ca56dc1911281a01c7c8f4cec.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.

    The tag visualization mod can be used to display tags in any data set with at least one categorical column.

    Setting Up the Mod

    Let's say we have data about the people and their pets:

    Name Pet
    Franck Dog
    Joe Dog, Cat
    Olivier Cat, Dog
    Anna Dog, Cat
    Brie Dog, Cat, Mouse
    Paula Cat, Mouse
    Eric Cat
    Jean Cat

    A basic tag visualization can be configured to show one tag per Pet with the following settings:

    • Tags = Pet

    The resulting tag list will look like this:

    pets.thumb.png.28dc3544fbe95c32435cf4da7cd82ad6.png

    Configuring the Mod

    The tag visualization can be configured by setting the tag axis.

    Using the Mod

    Marking

    Clicking on a tag will mark all rows with the corresponding key value in all other visualizations that uses the same marking. You can mark several tags by Ctrl-clicking on them.

    Tags are marked when all rows corresponding to that tag is marked.

    Clicking outside the tags will unmark all rows.

    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...