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

This Mod for Spotfire® can be used to display 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.

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.

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

Setup

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

Name Pet
Frank Dog
Joe Dog, Cat
Oliver 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

Configuration

The visualization can be configured by setting the tag axis.

Usage

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.