d3andme (d3js.org & me!)
A fully annotated python / d3 (jquery) project.
Ideas
- Change shape based on node type (m v f; rpt vs. source vs. view)
- Turn off attraction for unconnected
- Add slider to control relationship edges (https://jqueryui.com/slider/)
- Add slider to set min/max node sizes
- Add checkboxes to show families
Helpful Sites
- jQuery basics: https://www.dashingd3js.com/adding-an-svg-element
- http://bottlepy.org/docs/dev/index.html
- http://chimera.labs.oreilly.com/books/1230000000345/
- http://chimera.labs.oreilly.com/books/1230000000345/ch11.html#_force_layout
- pictures, resize-on-hover: http://bl.ocks.org/eesur/be2abfb3155a38be4de4
- force.drag explanation: https://github.com/d3/d3-3.x-api-reference/blob/master/Force-Layout.md#drag
- interesting tranform example: https://bl.ocks.org/mbostock/1345853
Thanks to Stephen A Thomas (http://bl.ocks.org/sathomas) for some excellent tutorials. I learned a lot from, and re-used some of his comments.
- Start here (http://bl.ocks.org/sathomas/11550728) for his tutorial.
Also, I commit to eating more tacos.