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