Lit Example of how to take a json graph file and render it in 2D or 3D.
You can try the demo here!
Here is the related blog post.