fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.8K
active users

#ggplot

2 posts2 participants0 posts today
Data Science<p>You dont like the default color palett of <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener noreferrer" 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 noreferrer" 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 noreferrer" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener noreferrer" 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 noreferrer" 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 noreferrer" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener noreferrer" 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 noreferrer" 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 noreferrer" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/design" class="mention hashtag" rel="nofollow noopener noreferrer" 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 noreferrer" 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 noreferrer" target="_blank">#<span>dataviz</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/ggiraph" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ggiraph</span></a> <a href="https://genomic.social/tags/UI" class="mention hashtag" rel="nofollow noopener noreferrer" 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 noreferrer" 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 noreferrer" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dataviz</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/UI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UI</span></a> <a href="https://genomic.social/tags/UX" class="mention hashtag" rel="nofollow noopener noreferrer" 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 noreferrer" 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 noreferrer" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dataviz</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a></p>
Data Science<p>Using fonts in R graphics can be tricky at times. {showtext} aims to make it easier: <a href="https://cran.rstudio.com/web/packages/showtext/vignettes/introduction.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">cran.rstudio.com/web/packages/</span><span class="invisible">showtext/vignettes/introduction.html</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dataviz</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ggplot</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 noreferrer" 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 noreferrer" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dataviz</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/colors" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>colors</span></a></p>
Michael Friendly<p><a href="https://vis.social/tags/dataviz" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dataviz</span></a> <a href="https://vis.social/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" 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 noreferrer" target="_blank">#<span>ggplot</span></a>,<br>labeling those points.<br><a href="http://friendly.github.io/heplots/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">http://</span><span class="">friendly.github.io/heplots/</span><span class="invisible"></span></a></p>
Data Science<p>I did not know about ggplot_build() before. It can come in handy in situations where you want to access computed metrics of a <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ggplot</span></a>. <a href="https://ggplot2.tidyverse.org/reference/ggplot_build.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ggplot2.tidyverse.org/referenc</span><span class="invisible">e/ggplot_build.html</span></a>. Thanks @thedatainklab for sharing. <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/ci" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ci</span></a></p>
Tan G.<p><a class="hashtag" href="https://bsky.app/search?q=%2330DayChartChallenge" rel="nofollow noopener noreferrer" 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 noreferrer" target="_blank">#rstats</a> <a class="hashtag" href="https://bsky.app/search?q=%23dataviz" rel="nofollow noopener noreferrer" target="_blank">#dataviz</a> <a class="hashtag" href="https://bsky.app/search?q=%23ggplot" rel="nofollow noopener noreferrer" target="_blank">#ggplot</a></p>
Sharon Machlis<p>Jazz up your ggplots:<br>‘Useful tricks to elevate your data viz via `ggplot` extension packages in R”<br>Custom themes, fonts, annotations, arrows &amp; more<br>By the USGS<br><a href="https://waterdata.usgs.gov/blog/ggplot-jazz/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">waterdata.usgs.gov/blog/ggplot</span><span class="invisible">-jazz/</span></a><br><a href="https://masto.machlis.com/tags/RStats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RStats</span></a> <a href="https://masto.machlis.com/tags/ggplot2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ggplot2</span></a> <a href="https://masto.machlis.com/tags/ggplot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ggplot</span></a> <a href="https://masto.machlis.com/tags/Dataviz" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Dataviz</span></a></p>
Different Than<p>Listen, <a href="https://infosec.exchange/tags/ggplot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ggplot</span></a>: Iove you, I do. But 90% of the time when I want to set fill or color manually I don't want to have to look up and figure out an entire fucking palette of colors. I want 2 or 3 colors, the end. I want to specify them easily.</p><p><a href="https://infosec.exchange/tags/ItsNotYouItsMe" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ItsNotYouItsMe</span></a> I realize this</p><p>I just want firebrick and navy. That's all. It always takes me 10 minutes of searching to remember that scale_color_manual exists; I always end up seeing pages for scale_color_discrete first.</p><p><a href="https://infosec.exchange/tags/personalIssues" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>personalIssues</span></a> <a href="https://infosec.exchange/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a></p>
Tan G.<p>Create your own custom <a class="hashtag" href="https://bsky.app/search?q=%23ggplot" rel="nofollow noopener noreferrer" target="_blank">#ggplot</a> theme via <a class="mention" href="https://bsky.brid.gy/ap/did:plc:xdhqqvdge4lv3hqt7sy5c2kb" rel="nofollow noopener noreferrer" target="_blank">@rfortherestofus.com</a> <a class="hashtag" href="https://bsky.app/search?q=%23rstats" rel="nofollow noopener noreferrer" target="_blank">#rstats</a><br><br><a href="https://youtube.com/watch?v=I9DEq4zDCb4" rel="nofollow noopener noreferrer" target="_blank">Create your own custom {ggplot...</a></p>
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 noreferrer" 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 noreferrer" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/design" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>design</span></a></p>
Cosmin Saveanu<p>The truly important reason to try the <a href="https://framapiaf.org/tags/positron" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>positron</span></a> R/Python editor is that it can work in parallel with another R session open in <a href="https://framapiaf.org/tags/RStudio" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RStudio</span></a> for a different project...</p><p>Also amazed by the <a href="https://framapiaf.org/tags/Pluto" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Pluto</span></a> notebook for <a href="https://framapiaf.org/tags/Julia" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Julia</span></a> scientific work. One of its nice features is that the associated file is in text format and the code can be easily extracted. Not yet ready to switch from <a href="https://framapiaf.org/tags/ggplot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ggplot</span></a> to <a href="https://framapiaf.org/tags/VegaLite" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>VegaLite</span></a> though.</p><p><a href="https://positron.posit.co/start.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">positron.posit.co/start.html</span><span class="invisible"></span></a><br><a href="https://plutojl.org/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">plutojl.org/</span><span class="invisible"></span></a><br><a href="https://framapiaf.org/tags/rstat" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstat</span></a></p>
Aleksandra Lazić<p>Played around with labeling a line plot. Ended up using:</p><p>📦{directlabels} for the two curved lines<br>📦{geomtextpath} for the horizontal line</p><p>Felt like an hour well spent. 😀</p><p>Removed actual labels to avoid starting a totally different conversation, but a keen eye might spot the topic!</p><p><a href="https://mastodon.social/tags/RStats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RStats</span></a> <a href="https://mastodon.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ggplot</span></a></p>
Data Science<p>{ggdist}: Visualizations of distributions and uncertainty <a href="https://mjskay.github.io/ggdist/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">mjskay.github.io/ggdist/</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ggplot</span></a></p>
Data Science<p>{ggblanket}, a wrapper around <a href="https://genomic.social/tags/ggplot" class="mention hashtag" rel="nofollow noopener noreferrer" 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 noreferrer" 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 noreferrer" 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 noreferrer" 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 noreferrer" target="_blank">#<span>ggplot</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rstats</span></a></p>