JavaScript Visualization Framework - JSVIz and TIBCO Spotfire®
Last updated:
11:35am Jan 16, 2017

Within the TIBCO Spotfire® community, one area of discussion that crops up continually is that of new visualization types.  Customers often ask for a visualization type during a POC that Spotfire does not currently support.  Others ask for simple customizations of existing visualizations, such as moving labels around, that sound straightforward but are almost impossible to implement without extensive coding.

There are now a number of JavaScript libraries available for creating rich interactive graphics within a standard web browser.  One such is D3 which has a large library of example visualizations available on the D3 Website.  There are many others, including Highcharts and Google Charts.

The JavaScript Visualization Framework, or JSViz, is a Custom Extension for TIBCO Spotfire that allows users to create their own visualizations using JavaScript libraries such as d3 but still allow them to seamlessly integrate with the Spotfire platform.  Note that although d3 was an initial driver for implementing the custom extension, it can actually work with any JavaScript based code.

Included with the framework are a number of sample charts including:

There are two downloads, one for Spotfire 6.5 and 7.0 (V2.4) and one for Spotfire 7.5 or higher (V3.4), both versions have the same capabilities.  Please make sure to download the correct package for your Spotfire installation. JSViz 2016 Build Version 2.4 is for Spotfire 6.5, and Spotfire 7.0 Build Version 3.4 is for Spotfire 7.5.

There is also a document on migrating existing (pre 2.4) JSViz visualizations to the new Spotfire 7.5 version.

For an overview of the different extension and customization options that the Spotfire platform provides, see Extending TIBCO Spotfire.


Licensing

JSViz is shared with the TIBCO Community for free use by customers and partners under the  TIBCO Component Exchange License.  If you have suggestions for enhancements or run into issues, please post questions on TIBCO Community.


JSViz and Spotfire Desktop

Attached is a document describing How to install JSViz into Spotfire Desktop.


Known Issues

  • Some users may encounter a problem when using JSViz with Spotfire 7.6.  This is resolved in the 3.4.0.3 release.  For detailed instructions see the following page: https://community.tibco.com/wiki/jsviz-problems-spotfire-76

  • Please remember to "unblock" the downloaded zip file before installing.  This is important if you use Internet Explorer to download the file or if your company has download management tools installed.  In windows explorer, right-click the file, select "unblock" and click OK.

  • These visuals will work in Web Player and Automation Services as well as Spotfire Analyst (Professional).  Make sure to follow the installation instructions in the documentation.  Many people forget to update the Web Player after installing the plugin files.

  • The Release Notes from jsviz_3.4.0.3_07-04-2016.zip, state that "Requires Spotfire 7.6 Hotfix 3 or greater to be installed".


Feedback (4)

For jmgrosso and others having problems with installing JSViz under Spotfire Desktop, please make sure that when you downloaded the zip file, you "unblocked" it.  .NET is cautious about allowing dll's downloaded from the internet from running.

So in the folder where you copied the dll's, right-click and select Properties.  Check the "unblock" option and click apply.  Repeat this for all dll's in the 3 JSViz folders.

Dave Leigh 10:51am Dec. 06, 2016

@jmgrosso

Can you please start an "Answers" thread here: https://community.tibco.com/answers

Stating the

  • version numbers of JSViz,
  • what type of installation of 6.5 you have (Do you have a spotfire server administered by your self, or is it a "portable" installation etc.)
  • The exact steps you performed to install JSViz

Thanks,

Andreas

 

Andreas Laestadius 5:11am Dec. 05, 2016

Hi, 

I followed all the above steps for Spotfire 6.5 but after editing the config file to add the JSViz modules the Spotfire app executable does not load the software. What should I do?

Regards.

jmgrosso 1:32am Dec. 05, 2016