wordcloud2

R interface to wordcloud for data visualization.

https://github.com/lchiffon/wordcloud2

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
Last synced: 6 months ago · JSON representation

Repository

R interface to wordcloud for data visualization.

Basic Info
  • Host: GitHub
  • Owner: Lchiffon
  • Language: JavaScript
  • Default Branch: master
  • Homepage:
  • Size: 3.27 MB
Statistics
  • Stars: 406
  • Watchers: 26
  • Forks: 107
  • Open Issues: 49
  • Releases: 0
Created over 9 years ago · Last pushed about 4 years ago
Metadata Files
Readme

readme.md

wordcloud2

CRAN Downloads Build status

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')

1

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

1

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

1

Chinese version

```

Sys.setlocale("LC_CTYPE","eng")

wordcloud2(demoFreqC, size = 2, fontFamily = "微软雅黑", color = "random-light", backgroundColor = "grey") ```

1

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:

  1. hover information display are fixed, refering AdeelK93's previous work, thanks!

  2. multiple wordclouds which seperatedly click are supported.

  3. clickedWordInputId is 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.

1

Owner

  • Name: Dawei Lang
  • Login: Lchiffon
  • Kind: user
  • Location: Shanghai China

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

All Time
  • Total Commits: 59
  • Total Committers: 12
  • Avg Commits per committer: 4.917
  • Development Distribution Score (DDS): 0.695
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email 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
wontfix (1) enhancement (1) help wanted (1)
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'

  • Versions: 2
  • Dependent Packages: 14
  • Dependent Repositories: 33
  • Downloads: 10,147 Last month
  • Docker Downloads: 143,972
Rankings
Forks count: 0.6%
Stargazers count: 0.9%
Downloads: 3.5%
Dependent packages count: 4.4%
Dependent repos count: 4.6%
Average: 6.2%
Docker downloads count: 23.1%
Maintainers (1)
Last synced: 6 months ago
conda-forge.org: r-wordcloud2
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
Rankings
Forks count: 17.5%
Stargazers count: 19.9%
Dependent repos count: 24.4%
Average: 28.4%
Dependent packages count: 51.6%
Last synced: 7 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.1.0 depends
  • base64enc * imports
  • grDevices * imports
  • graphics * imports
  • htmlwidgets * imports
  • shiny >= 0.12 imports
  • knitr * suggests