Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
2 of 12 committers (16.7%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.2%) to scientific vocabulary
Repository
R interface to wordcloud for data visualization.
Basic Info
Statistics
- Stars: 406
- Watchers: 26
- Forks: 107
- Open Issues: 49
- Releases: 0
Metadata Files
readme.md
wordcloud2
R interface to wordcloud for data visualization. Timdream's wordcloud2.js is used in this package.
contributors
Original description
Installation
devtools::install_github("lchiffon/wordcloud2")
knitr and shiny is support in wordcloud2 package.
Example
library(wordcloud2)
wordcloud2(demoFreq, size = 1,shape = 'star')

wordcloud2(demoFreq, size = 2, minRotation = -pi/2, maxRotation = -pi/2)

wordcloud2(demoFreq, size = 2, minRotation = -pi/6, maxRotation = -pi/6,
rotateRatio = 1)

Chinese version
```
Sys.setlocale("LC_CTYPE","eng")
wordcloud2(demoFreqC, size = 2, fontFamily = "微软雅黑", color = "random-light", backgroundColor = "grey") ```

Example of successfully deploying interactivate clickable wordcloud with special shape on R-shiny
Thanks JacobXPX's contribution to this feature:
Thanks AdamSpannbauer for pointing out the issues.
Additional features are added or modified:
hover information display are fixed, refering AdeelK93's previous work, thanks!
multiple wordclouds which seperatedly click are supported.
clickedWordInputIdis changed to be automatically generated by: paste0(outputId, "clickedword")).
See sample below for more details:
``` library(shiny) library(wordcloud2) shinyApp( ui=shinyUI(fluidPage( #using default clicked word input id wordcloud2Output("mywc", width = "50%", height = "400px"), #using custom clicked word input id wordcloud2Output("mywc2", width = "50%", height = "400px"),
verbatimTextOutput("print"),
verbatimTextOutput("print2")
)), server=shinyServer(function(input,output,session){
figPath = system.file("examples/a.png",package = "wordcloud2")
output$my_wc = renderWordcloud2(wordcloud2(data = demoFreq, figPath = figPath, size = 0.4,color = "blue"))
output$my_wc2 = renderWordcloud2(wordcloud2(demoFreq))
#using default clicked word input id
output$print = renderPrint(input$my_wc_clicked_word)
#using custom clicked word input id
output$print2 = renderPrint(input$my_wc2_clicked_word)
}) ) ```
run the above code and click refresh, it will work.

Owner
- Name: Dawei Lang
- Login: Lchiffon
- Kind: user
- Location: Shanghai China
- Repositories: 80
- Profile: https://github.com/Lchiffon
GitHub Events
Total
- Watch event: 11
- Issue comment event: 4
Last Year
- Watch event: 11
- Issue comment event: 4
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| chiffon | c****g@i****m | 18 |
| puxin | p****u@g****m | 12 |
| chiffon | l****i@s****n | 9 |
| Adam Spannbauer | S****m@g****m | 6 |
| Lang | d****g@s****m | 5 |
| ekstroem | g****b@e****m | 2 |
| timelyportfolio | k****l@t****m | 2 |
| Adeel Khan | A****K@g****u | 1 |
| Lang | D****g@j****m | 1 |
| yalei | y****u@1****m | 1 |
| Chiffon | c****g@i****m | 1 |
| Chiffon | h****y@l****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 63
- Total pull requests: 17
- Average time to close issues: about 1 month
- Average time to close pull requests: 2 months
- Total issue authors: 57
- Total pull request authors: 13
- Average comments per issue: 3.0
- Average comments per pull request: 1.65
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- kakakhan2016 (2)
- ShiMingMing1213 (2)
- dipenpatel235 (2)
- drghirlanda (2)
- AdamSpannbauer (2)
- jeroen (2)
- QuentinB02 (1)
- senzhaocode (1)
- FreyGeospatial (1)
- AlisonCT (1)
- haobinlaosi (1)
- RainRam (1)
- pinkskyxj (1)
- Kumpelka (1)
- martinbel (1)
Pull Request Authors
- badbye (3)
- jacobyxu (2)
- AdamSpannbauer (2)
- Lchiffon (1)
- JustinCCYap (1)
- edwindj (1)
- timelyportfolio (1)
- kkiviat (1)
- Keyeoh (1)
- stragu (1)
- gaospecial (1)
- ekstroem (1)
- AdeelK93 (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- cran 10,147 last-month
- Total docker downloads: 143,972
-
Total dependent packages: 14
(may contain duplicates) -
Total dependent repositories: 34
(may contain duplicates) - Total versions: 3
- Total maintainers: 1
cran.r-project.org: wordcloud2
Create Word Cloud by 'htmlwidget'
- Homepage: https://github.com/lchiffon/wordcloud2
- Documentation: http://cran.r-project.org/web/packages/wordcloud2/wordcloud2.pdf
- License: GPL-2
-
Latest release: 0.2.1
published about 8 years ago
Rankings
Maintainers (1)
conda-forge.org: r-wordcloud2
- Homepage: https://github.com/lchiffon/wordcloud2
- License: GPL-2.0-or-later
-
Latest release: 0.2.1
published about 5 years ago
Rankings
Dependencies
- R >= 3.1.0 depends
- base64enc * imports
- grDevices * imports
- graphics * imports
- htmlwidgets * imports
- shiny >= 0.12 imports
- knitr * suggests