Filter and sort grid layouts in Shiny application and Markdown document with Shuffle.js.
You can install shufflecards
from GitHub:
remotes::install_github("dreamRs/shufflecards")
Markdown: use shuffle_widget
to create a grid of elements, arrange the grid with buttons and filter with crosstalk
inputs.
Shiny: use shuffle_container
to create a grid of elements in UI, use classic Shiny inputs and server-side logic to arrange & filter the grid.
htmlwidget
billboarder
: https://dreamrs.github.io/tweets-transports/flexdashboard
and highcharter
: https://dreamrs.github.io/shufflecards/flexdashboardggplot2
: https://dreamrs.github.io/shufflecards/gapminder-md-ggplot2You can run the playing cards example with:
shufflecards::play()
With data from gapminder
package and ggplot2
:
Run this example with :
run_example(example = "gapminder")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.