Forum Discussion

tasmiaa's avatar
tasmiaa
Advocate I
7 years ago

Using d3.js visual and adding a library

I would like to use the d3.js custom visual and add my own D3 code into a Power BI report.

 

My question is, how do I add libraries to this editor? I would like to use the topojson library in order to make a map.

 

Thanks.

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI tasmiaa,

     

    AFAIK, current power bi service support some of common libraries.

     

    I haven't found any document accurate list supported libraries, maybe you can try it if it works on your side.

     

    Regards,

    Xiaoxin Sheng

    • tasmiaa's avatar
      tasmiaa
      Advocate I

      Do you know how to "add" the libraries into my D3 code using the Power Bi syntax? 

       

      Documentation says to start at the var margin...etc. and skips any of the <script....> tags to add libraries.