jasondavies / d3-cloud

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

update to d3 v4 plugin style #150

Closed ly-cultureiq closed 1 year ago

ly-cultureiq commented 5 years ago

This allows for imports using a module system, ie

import {cloud} from 'd3-cloud'

cloud().size([width, height]).words(words)

etc

chadfurman commented 5 years ago

This PR is massive and has no tests... I don't see significant value in merging it...

ly-cultureiq commented 5 years ago

will clean it up