You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Jim, thanks for the excellent tutorial! I'm wondering if you have a suggestion for how you could group together different color bubbles (or categories), kind of like how the NYT does it here, and have them stay grouped together when the view separates out different years.
The text was updated successfully, but these errors were encountered:
Ah yes. its a great feature of that graphic - and one that is ignored in this tutorial.
I haven't tried, but I think this could be accomplished with an forceY to position nodes along the Y axis based on their category.
You might have to do some work with the initial positioning of the nodes (i.e. not random positions - but start those of the same category close to one another).
It also might take some tweaking to make this force play nice with the other forces, but this is the approach i would try!
Hi Jim, thanks for the excellent tutorial! I'm wondering if you have a suggestion for how you could group together different color bubbles (or categories), kind of like how the NYT does it here, and have them stay grouped together when the view separates out different years.
The text was updated successfully, but these errors were encountered: