jasondavies / d3-cloud

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

word cloud with clickable links or adding click events #101

Closed mauricioxrodriguez closed 8 years ago

mauricioxrodriguez commented 8 years ago

Does the API support anchor tags to make the words clickable? furthermore, is there a way to add attributes to send functions or events?

jasondavies commented 8 years ago

This library deals with positioning/layout only; event-handling and rendering can be done using D3 or other libraries.

mauricioxrodriguez commented 7 years ago

thanks I found the way and it was pretty simple.

kartikgill commented 6 years ago

@maurod69 can you please help me making adding clickable events to tag cloud?

owendall commented 6 years ago

@maurod69 Can you share what you did for the click event?

Honghe commented 6 years ago

@owendall With element click event, we can show the related info of the item.

jicihome commented 5 years ago

Can you explain what you add or do to make it work? Thanks! @maurod69 @Honghe