Example of an interactive tables using Reactable + Crosstalk in R
The following is based on the description I wrote for the 2021 RStudio Table Contest. Including it here in a mini blog post.
The table below shows the gtcars dataset from the gt package which has information on expensive and fast cars from 2014 to 2017. The table was built using the reactable package combined with crosstalk to allow HTML widgets to communicate with each other without R Shiny. Features in the interactive-HTML include d3scatter plots, crosstalk filter controls, column name tooltips, embedded flag images, row selection, and conditionally formatted cells with icons and bar charts. The example shows some of the capabilities of reactable combined with crosstalk.
Table link and Github repo below.
Interactivity with the deluxe cars dataset
Interactivity table using crosstalk + reactable on the gtcars dataset