Webapp use D3.js (Javascript) to load a dataset and show the console log

timchen Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered, Dataiku DSS Developer Posts: 7 ✭✭✭
edited July 16 in Using Dataiku


I want to bring my D3 visualization to Dataiku by creating a Webapp, but I don't know how to make the dataset to the array like local D3 library.

const data = {
A: "./A.csv",
B: "./B.csv",
const promises = [d3.csv(data.A), d3.csv(data.B)];

I want to know how I can do the same thing in Dataiku Webapp. I checked few articles and discussion, but none of them has exact match to my question.

I even try the sample code:

    function(dataFrame) {
         console.log("dataset load succeed");
         // action on load success

and I still don't know how it works.

Another question is, how do I see the data in console.log() in Dataiku?

Thanks in advanced.


Setup Info
      Help me…