jasondavies / d3-cloud

Create word clouds in JavaScript.
https://www.jasondavies.com/wordcloud/
Other
3.82k stars 1.07k forks source link

D3 Transitions #139

Closed banjavi closed 6 years ago

banjavi commented 6 years ago

If I could make a suggestion, adding in a transition feature would be really useful (imo). Currently trying to make the words slowly fade in (invisible -> grey) as a visual effect, having a bit of a rough time doing so.

banjavi commented 6 years ago

Unless I'm just an idiot and there's actually a way to add transitions without breaking the wordcloud during the draw process. Anyone have any luck with achieving this 'fade-in' effect I'm going for?

jasondavies commented 6 years ago

The d3-cloud library is focused on positioning alone (drawing of the resulting layout is left to the user), so I'm afraid I'll have to close this issue as it's out-of-scope for this library.

I would suggest asking on Stack Overflow as it sounds like you need some general help with using D3 transitions.

banjavi commented 6 years ago

Apologies, should have checked there first - thanks for responding.