Using D3 in an Atom View


Anybody have success doing this. I am trying to create an AST viewer and would like to use D3

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

I am imagining a particular DOM Pane controlled by d3:


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:


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


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

Thanks for the mention though :rose:


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