dice.camp is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon server for RPG folks to hang out and talk. Not owned by a billionaire.

Administered by:

Server stats:

1.5K
active users

#ggplot

2 posts2 participants0 posts today
Data Science<p>r-charts.com provides example code for a variety of chart types, both in base R and ggplot: <a href="https://r-charts.com/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">r-charts.com/</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/design" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>design</span></a></p>
Mark LaVenia<p><span class="h-card" translate="no"><a href="https://fediscience.org/@ElenLeFoll" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ElenLeFoll</span></a></span> <span class="h-card" translate="no"><a href="https://fedihum.org/@felwert" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>felwert</span></a></span> <span class="h-card" translate="no"><a href="https://wisskomm.social/@dfg_public" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>dfg_public</span></a></span> <span class="h-card" translate="no"><a href="https://social.bund.de/@bmftr_bund" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>bmftr_bund</span></a></span> <br>Here’s one I recently Frankensteined in <a href="https://fosstodon.org/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> <a href="https://fosstodon.org/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a>: <a href="https://github.com/MarkLaVenia/gantt_chart" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/MarkLaVenia/gantt_c</span><span class="invisible">hart</span></a></p><p>Would definitely be interested in learning more efficient and flexible approaches.</p>
coolbutuseless<p><a href="https://fosstodon.org/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> Hivemind: What's a good package to plot "flamegraph" style information</p><p>{zap} outputs nested "depth" and "duration". <br>My dodgy <a href="https://fosstodon.org/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> (with manual annotation) is not ideal.</p><p>Suggestions welcomed!</p>
Data Science<p>{ggblanket}, a wrapper around <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> for quick, explorative plots with sensible defaults and less code. <a href="https://davidhodge931.github.io/ggblanket/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">davidhodge931.github.io/ggblan</span><span class="invisible">ket/</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a></p>
Data Science<p>{ggbump} creates elegant bump charts in ggplot. <a href="https://github.com/davidsjoberg/ggbump" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/davidsjoberg/ggbump</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a></p>
Data Science<p>If you need automatic wrapping of labels in ggplot, the {ggtext} package by @clauswilke@genart.social has you covered: <a href="https://wilkelab.org/ggtext/articles/theme_elements.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">wilkelab.org/ggtext/articles/t</span><span class="invisible">heme_elements.html</span></a> But make sure you also check out the rest of the functionality of the package to add markdown fromated text to plots... <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/visualization" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>visualization</span></a></p>
Data Science<p>Beautiful palettes based on art for R and python: <a href="https://github.com/BlakeRMills/MetBrewer" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/BlakeRMills/MetBrew</span><span class="invisible">er</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a></p>
Stephen Royle<p>Let It Flow: recreating a FACS plot with ggplot</p><p><a href="https://quantixed.org/2025/06/05/let-it-flow-recreating-a-facs-plot-with-ggplot/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">quantixed.org/2025/06/05/let-i</span><span class="invisible">t-flow-recreating-a-facs-plot-with-ggplot/</span></a></p><p><a href="https://biologists.social/tags/AdventuresInCode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AdventuresInCode</span></a> <a href="https://biologists.social/tags/computing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>computing</span></a> <a href="https://biologists.social/tags/science" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>science</span></a> <a href="https://biologists.social/tags/FACS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FACS</span></a> <a href="https://biologists.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://biologists.social/tags/papers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>papers</span></a> <a href="https://biologists.social/tags/plots" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>plots</span></a> <a href="https://biologists.social/tags/Rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rstats</span></a></p>
Data Science<p>Examples of creative data visualizations, mostly ggplot: <a href="https://github.com/tashapiro/tanya-data-viz" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/tashapiro/tanya-dat</span><span class="invisible">a-viz</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a></p>
Data Science<p>If you set limits for a scale (e.g. x-axis) in ggplot, how would you like data outside of that range be handled? There is the oob parameter for that and a set of functions to use with it: <a href="https://scales.r-lib.org/reference/oob.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">scales.r-lib.org/reference/oob</span><span class="invisible">.html</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a></p>
Data Science<p>Add some swag to your ggplots, with fontawesome symbols and colors: <a href="https://nrennie.rbind.io/blog/adding-social-media-icons-ggplot2/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">nrennie.rbind.io/blog/adding-s</span><span class="invisible">ocial-media-icons-ggplot2/</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/fontawesome" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fontawesome</span></a> <a href="https://genomic.social/tags/ggtext" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggtext</span></a></p>
Data Science<p>You dont like the default color palett of <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a>? You can change it: <a href="https://stackoverflow.com/questions/10504724/change-the-default-colour-palette-in-ggplot" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">stackoverflow.com/questions/10</span><span class="invisible">504724/change-the-default-colour-palette-in-ggplot</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a></p>
Data Science<p>{ggchicklet}: library for rounded Segmented Column Charts: <a href="https://github.com/hrbrmstr/ggchicklet" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/hrbrmstr/ggchicklet</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a> @hrbrmstr</p>
Data Science<p>r-graph-gallery.com provides example code for a variety of chart types, both in base R and ggplot: <a href="https://r-graph-gallery.com/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">r-graph-gallery.com/</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/design" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>design</span></a></p>
Data Science<p>Add richer tooltips to ggiraph with kableExtra and friends: <a href="https://uncharteddata.netlify.app/posts/2022-09-30-interactive-tooltip-tables/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">uncharteddata.netlify.app/post</span><span class="invisible">s/2022-09-30-interactive-tooltip-tables/</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/ggiraph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggiraph</span></a> <a href="https://genomic.social/tags/UI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UI</span></a></p>
Data Science<p>Make interactive ggplots with {ggiraph}: <a href="https://davidgohel.github.io/ggiraph/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">davidgohel.github.io/ggiraph/</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/UI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UI</span></a> <a href="https://genomic.social/tags/UX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UX</span></a></p>
Data Science<p>Enrich your ggplots with extra panels along the x and y axis: <a href="https://github.com/jtlandis/ggside" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/jtlandis/ggside</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a></p>
Data Science<p>Find the best contrast between one color and a list of options, e.g. for labels in geom_tile: {prismatic::best_contrast()} <a href="https://emilhvitfeldt.github.io/prismatic/reference/best_contrast.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">emilhvitfeldt.github.io/prisma</span><span class="invisible">tic/reference/best_contrast.html</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/colors" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>colors</span></a></p>
Michael Friendly<p><a href="https://vis.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dataviz</span></a> <a href="https://vis.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a><br>A new release, v. 1.7.4 of my {heplots} pkg just dropped to CRAN. It features a new utility `noteworthy(x,y,method)` to identify<br>unusual points in a 2D plot, by a variety of criteria. Working on a `stat_noteworthy()` to bring this to <a href="https://vis.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot</span></a>,<br>labeling those points.<br><a href="http://friendly.github.io/heplots/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">http://</span><span class="">friendly.github.io/heplots/</span><span class="invisible"></span></a></p>
Tan G.<p><a class="hashtag" href="https://bsky.app/search?q=%2330DayChartChallenge" rel="nofollow noopener" target="_blank">#30DayChartChallenge</a> - Day 6: Florence Nightingale theme Using ACLED data, here's a look at fatalities (log10 scaled) of health workers in Palestine during events where they are specifically targeted or are part of a larger group of civilian victims. <a class="hashtag" href="https://bsky.app/search?q=%23rstats" rel="nofollow noopener" target="_blank">#rstats</a> <a class="hashtag" href="https://bsky.app/search?q=%23dataviz" rel="nofollow noopener" target="_blank">#dataviz</a> <a class="hashtag" href="https://bsky.app/search?q=%23ggplot" rel="nofollow noopener" target="_blank">#ggplot</a></p>