[help] D3.v4 Drag, Force, Pan, Zoom + tooltip

瀏覽次數:313 次
跳到第一則未讀訊息

jan

未讀,
2016年8月18日 上午9:28:562016/8/18
收件者:d3-js
Hello everyone I'm beginner programmer and I'm trying to make working this "balls" into a graph 
1oglop1.github.io/d3/HTML/graph_test.html - currently it's possible only drag the balls (are stacked up on each other)

I do not have much JS experience so all constructive advice welcome.

can someone help me to implement force and dragging to it becomes a real graph like this: bl.ocks.org/eyaler/10586116/

I have developed partially working text wrapping for the text for SVG (idea based on d3plus)

I have created group objects of circle and text, so they stick together. 
<g class="node"> <circle /> <text>TextInside</text> </g>

I'm open to all ideas which will lead to the solution (even using canvas)

Jan

steve...@talktalk.net

未讀,
2016年8月23日 中午12:15:542016/8/23
收件者:d3-js
Are you looking for something like the risk plot bottom right on this page?  http://pmd3.co.uk/

Jan 'oglop' Gazda

未讀,
2016年8月23日 下午1:29:002016/8/23
收件者:d3...@googlegroups.com
Thats exactly it!
I'll try to study the code and see what's going on there. 

After this I would like to have tool tips with mouse over or click as it's there but it should not be such a problem then.

Could you please help to alternate the code into a d3 v4? 

S pozdravem / Best regards.
Gazda Jan

--
You received this message because you are subscribed to a topic in the Google Groups "d3-js" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/d3-js/LSTHZDhtZrw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to d3-js+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

回覆所有人
回覆作者
轉寄
0 則新訊息