sup again, graphfag here(https://4ch.be/wsr/thread/31069 for those that don't know who the fuck i am), been trying to get something working with d3, but i just can't figure it out( likely due to my newness in js ). so today i'm requesting one of you fine /g/ents to spoonfeed me the code(yes i know, i'm sorry) heres what would be needed:
-force layout
-Have the data be in json format something like (correct my json format as needed, still new to it as well):
game: "fnaf"
___id: 0
___targets:
____1337
_____description:"maymay"
____404
_____description:"pepe"
___image: "dankapedia.edu/fuck_boy.jpeg2"
___site: "dankapedia.edu/fuck_boys"
-(not high priority)make nodes grow to the size of the name
-have it so nodes won't block each other
-have when clicking on node it shows the description and link to the site
nothing else i can think up atm, thanks to who ever does this in advance
if who ever want to complete this wants more question, just go to http://boards.4chan.org/wsr/thread/40412#&togetherjs=graphfagquickchat
with
javascript:(function(e,t,n){var r=function(){var t=function(e){e=e||10;var t='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUV0123456789';var n='';for(var r=0;r<e;r++){n+=t.charAt(Math.floor(Math.random()*t.length))}return n},n=t(),r=e.prompt('Type session ID to join or create\n (default is \'together\')')||'together',i={reason:'started',shareId:r,running:true,date:Date.now(),sessionId:n};if(typeof sessionStorage['togetherjs-session.status']!=='undefined'){i=JSON.parse(sessionStorage['togetherjs-session.status']);i.shareId=r;i.running=true}i=JSON.stringify(i);return i}();sessionStorage['togetherjs-session.status']=r;if(typeof TogetherJS!=='undefined'){if(TogetherJS._loaded){TogetherJS.on('close',function(){TogetherJS(e)});TogetherJS(e)}else{TogetherJS(e)}}else{var i=t.createElement('script'),s='https://togetherjs.com/togetherjs-min.js';i.setAttribute('src',s);t.body.appendChild(i)}})(window,document)