jthomasmock / gtExtras

A Collection of Helper Functions for the gt Package.
https://jthomasmock.github.io/gtExtras/
Other
193 stars 26 forks source link

Allow `gt_sparkline` to plot multiple density curves in one plot #30

Closed jorgesinval closed 2 years ago

jorgesinval commented 2 years ago

Is it possible to somehow plot multiple density curves in one plot using gt_sparkline? Something like this:

image

jthomasmock commented 2 years ago

Hi @jorgesinval - this is a cool idea! However, it's not something I'm likely to incorporate as the core functionality is one row and one graphic. You can always "escape" out to using gt + gt::ggplot_image() if you'd like to embed custom graphics or combined graphics as you're intending.

Thanks!