jbkunst / jbkunst/d3wordcloud

Wordcloud to be redrawn on shiny app resize

Open
#11 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
R
Stars
63
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Current behaviour: when the browser window is resized, the wordcloud remains static. This is desirable in some cases, and not in others. I won't provide my own example, since your own demo app shows the current behaviour :)
https://jbkunst.shinyapps.io/d3wordcloud/

Enhancement: It would be really neat if there could be an _option_ for the wordcloud to be redrawn when the browser window is resized. This would be especially useful when using the wordcloud within a `shiny::column()` div, whose width will change with the browser window.

Suggestion: This might be achievable without changing the parameters of the functions. If the width is a percentage, it could resize by default. If it's a number of pixels, it would not. I don't know whether there are any unwanted side effects from that, so it might yet be a terrible way of doing it.

Obligatory yet sincere praise: I really like this package! Great work.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.