Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 


#Product
#Analytics
#CognosAnalytics
#Analyticstools
#TechXchange Partner
#TechXchange Session
#TechXchange Presenter
#AI
 View Only
  • 1.  Custom Visualization

    Posted 11/01/20 12:06 PM
    Hello All,

    Have you planned to create a  Sankey Circular package in the IBM Accelerator ? if yes when it will be available ?

    If not,  i am currently facing a problem trying to do it myself,  i have downloaded a d3-sankey-circular.js from the web  Sankey with circular links

    i have put it on the renderer folder with the main.ts.

    In this main.ts, i have defined three imports and i try to use sankey and justify :


    import { RenderBase, UpdateInfo, DataPoint, Tuple } from "@businessanalytics/customvis-lib";
    import * as d3 from "d3";
    import {sankey, justify} from "./d3-sankey-circular.js";
    ...
    var sankey = sankey()
    .nodeWidth(15)
    .nodePadding(20)
    .nodePaddingRatio(0.1)
    .size([width, height])
    .nodeId(function (d) {
    return d.name;
    })
    .nodeAlign(justify)
    .iterations(32) ;


    But when my "custom start" command runs, it throws me the following errors which i don't understand because "justify" seems to be exported by the d3-sankey-circular.js



    Any help  or any detailed documentation on how to integrate a D3 library program within Cognos Analytics would be appreciated.

    CA version : 11.1.5
    Thanks for all.



    ------------------------------
    LOIC POTIN
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Custom Visualization

    Posted 11/03/20 11:59 AM
    We download the one in the accelerator catalog.

    https://community.ibm.com/accelerators/?context=analytics&product=Cognos%20Analytics

    ------------------------------
    Jo Marie Sellner
    ------------------------------



  • 3.  RE: Custom Visualization

    Posted 11/04/20 09:58 AM
    Hello Jo Marie,

    Thanks for your reply but i already knew this sankey sample in the  accelerator catalog but this one is not a sankey circular, that's why i try to get a sankey circular  from the internet and integrate it with Cognos.


    ------------------------------
    LOIC POTIN
    ------------------------------