Hi
I was wondering whether a d3.js export format might be useful? That is, export trees/graphs using the JSON representation used by d3.js tree and netwrok visualisations?
I currently use networkx to generate d3.js compatible JSON using the networkx JSON exporter http://networkx.lanl.gov/reference/read ... graph.html
For example - here I used networkx to construct a tree that I then viewed using a d3.js Sankey diagram view:
http://blog.ouseful.info/2012/05/24/f1- ... y-diagram/
And here I used it to generate an expandable mindmap view of a tree http://blog.ouseful.info/2012/05/11/vie ... ing-d3-js/
tony
d3.js export format
-
- Posts:18
- Joined:15 Apr 2010 17:50 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
- WeezyF
- Posts:48
- Joined:03 May 2012 02:29 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: d3.js export format
YES!! This is such a good idea.
I spent the better part of the day building a d3.js force directed layout. Most of that time was just formatting the JSON.
Tony you are a genius and your blog is awesome!
weezy
I spent the better part of the day building a d3.js force directed layout. Most of that time was just formatting the JSON.
Tony you are a genius and your blog is awesome!
weezy