Hi Lionel,

One option is to place your js code into the visualization framework as shown here : https://wiki.galaxyproject.org/VisualizationsRegistry

Once you have activated the framework, a button will be provided to run your js code on a certain dataset file format / tool output file format.

Can you tell me what the output format of your tool is i.e. tabular file? Is you d3 code public? If so could you please share it?

I hope this helps a bit. Feel free to ask further questions.

Thanks Sam