My fork of Karthikeyan Singaravelan clj-wordcloud
Find a file
Xtreak ff01e3cf32
Drop JDK 7 testing due to UnsupportedClassVersionError
Drop JDK 7 testing due to UnsupportedClassVersionError . Refer back upstream to get the minimum JDK version we need to support. Build fails at https://travis-ci.org/tirkarthi/clj-wordcloud/jobs/356513667
2018-03-22 00:30:37 +05:30
doc Initial commit with the API and files 2018-03-22 00:25:30 +05:30
examples Initial commit with the API and files 2018-03-22 00:25:30 +05:30
src/clj_wordcloud Initial commit with the API and files 2018-03-22 00:25:30 +05:30
test/clj_wordcloud Initial commit with the API and files 2018-03-22 00:25:30 +05:30
.gitignore Initial commit with the API and files 2018-03-22 00:25:30 +05:30
.travis.yml Drop JDK 7 testing due to UnsupportedClassVersionError 2018-03-22 00:30:37 +05:30
CHANGELOG.md Initial commit with the API and files 2018-03-22 00:25:30 +05:30
CONTRIBUTING.md Initial commit with the API and files 2018-03-22 00:25:30 +05:30
LICENSE Initial commit with the API and files 2018-03-22 00:25:30 +05:30
project.clj Initial commit with the API and files 2018-03-22 00:25:30 +05:30
README.md Initial commit with the API and files 2018-03-22 00:25:30 +05:30

clj-wordcloud Build Status

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.

(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}))

Sample

Stability

This library is still in early development phase and the API is subject to change.

Thanks

Thanks to @kennycason for kumo without which this library is not possible

License

Copyright © 2018 Karthikeyan S

Distributed under the MIT License