Using D3 in an Atom View


#1

Anybody have success doing this. I am trying to create an AST viewer and would like to use D3 http://bl.ocks.org/mbostock/1093025

I could hack something but wondering if its already a solved problem.

I am imagining a particular DOM Pane controlled by d3:


#2

I have it working. Some tips for Future devs:

  • Use d3 via NPM. require it,
  • Use the d3 selector api to select the dom element (or something similar) and you are off to the races :heart:

#3

This Git Log package used D3 at one point. I don’t know if it still does.


#4

It did show up in search results but it wasn’t using it anymore.

Thanks for the mention though :rose:


#5

i had some problems with d3 installation because contextify was not installing, so i removed it