Validating the visualization in a report

It is recommended to use the Google Chrome browser when you develop a custom visualization locally. However, Mozilla Firefox and Edge are also supported.

Before you begin

Note: The Apple Safari browser is not supported for local custom visualization development.

When you validate the visualization, your browser connects to your custom visualization that runs locally. Some browsers might treat the connection as a security threat.

About this task

After the visualization was uploaded to IBM® Cognos Analytics, any supported browser can be used to run the uploaded custom visualization.

Procedure

  1. Create a report in Cognos Analytics. Make sure that you are in Page preview mode.
  2. Under Insertable objects, click the Toolbox icon The toolbox icon.
  3. Expand the Advanced menu and double-click Custom visual preview.
    The custom visualization is loaded.
  4. The custom visualizations CLI tools monitors the source files and rebuilds the custom visualization when its source code changes. To see these changes in the Page preview view, click Refresh visualization The refresh visualization icon.
  5. Run your report as HTML by clicking Play and then Run HTML.

Results

Cognos Analytics displays the D3 visualization.