mirror of
https://github.com/simon-brooke/clj-wordcloud.git
synced 2025-07-01 09:38:08 +00:00
31 lines
877 B
Markdown
31 lines
877 B
Markdown
# clj-wordcloud [](https://travis-ci.org/tirkarthi/clj-wordcloud)
|
|
|
|
A simple clojure wrapper around kumo to generate wordcloud
|
|
|
|
## Example
|
|
|
|
Given a map of element and the frequency the following image is generated. More examples/examples.clj.
|
|
|
|
```clojure
|
|
(let [frequency-map (zipmap (range 100 130) (range 300))]
|
|
(word-cloud frequency-map
|
|
{:background {:type :circle :size 300}
|
|
:filename "sample.png" :font-y 100 :padding 10}))
|
|
```
|
|
|
|

|
|
|
|
## Stability
|
|
|
|
This library is still in early development phase and the API is subject to change.
|
|
|
|
## Thanks
|
|
|
|
Thanks to @kennycason for [kumo](https://github.com/kennycason/kumo) without which this library is not possible
|
|
|
|
## License
|
|
|
|
Copyright © 2018 Karthikeyan S
|
|
|
|
Distributed under the MIT License
|