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

c# SetCompatibleTextRenderingDefault must be called before the first -

c++ - Fill runtime data at compile time with templates -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -