d3.js - Forcing nodes to stick together within bubble force layout -


i have created force layout i'm happy with. nodes cluster nicely group (in below case country).

working image

as view them grouped other data variables move new centers expected.

recentered image

what isn't happening, i'd like, @ new center nodes cluster own type also, secondary level of attraction.

i.e. in above image i'd @ each "age" center, nodes each country attracted each other rather being spread across age area.

is possible? advice appreciated!!

tia,

martin


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -