Reputation: 117
I will get Neo4j JSON data from AJAX call and I need to render the data. Is there any JS library where I can use the data as input and it will generate SVG output?
Upvotes: 0
Views: 133
Reputation: 18002
Yes, there are several. D3.js is a very commonly used framework for this purpose, and so is Vis.js. A third option is Sigma.js. There are probably a dozen more, if you look.
All of them will have one common issue: they won't take JSON in the format delivered by the Neo4J RESTful services, so you'll have to write your own glue code to transform the data from Neo4J's format into whatever format the library you're using requires.
Upvotes: 2