adityadahiya, to coffee
@adityadahiya@mastodon.social avatar

#TidyTuesday American Coffee Preferences: most people drink black #coffee; Milk and Sugar are most preferred additions.
Data: The Great American Coffee Taste Test by @jimseven and Cometeer
Code🔗https://tinyurl.com/tidy-cfe
Tools: #ggplot2 #ggfittext #rstats @R4DSCommunity #coffeetime

adityadahiya, to magick
@adityadahiya@mastodon.social avatar

#TidyTuesday Rolling Stone Album Rankings. Correlation between
@spotify popularity vs. Weeks spent in #Billboard200 by @billboard.
Data by @thepudding and @RollingStone
Code🔗https://tinyurl.com/tidy-albums
Tools #ggplot2, #ggimage, #magick by @jeroenooms, #geniusr

Dan, to rstats
@Dan@aus.social avatar

I can't believe it has taken me however many years I've been using @rstats ggsave() to realise... it saves the current size of the "Plots" pane in RStudio (or more generally if I had bothered to ever properly read the help text "using the size of the current graphics device")

miki_peltzer, to spain Spanish
@miki_peltzer@techhub.social avatar

#Day23 of the #30DayChartChallenge, #tiles

🇪🇸🧍🏻🚶🏻Population change in Peninsular Spain: 2000 - 2020

📂: https://t.ly/JD3nU

#rstats #ggplot2 #population #Spain #GHSL #dataviz #eurostat

Posit, to python
@Posit@fosstodon.org avatar

plotnine, the Python plotting package inspired by ggplot2, has gotten some significant improvements!

plotnine 0.12 introduces a custom layout manager, offering us the ability to effortlessly produce well-arranged graphics.

Learn more: https://posit.co/improving-the-layout-of-plotnine-graphics

jpeelle, to rstats
@jpeelle@neuromatch.social avatar

In the past when I've done correlations between many (10,000s) of values, I've done this sort of histogrammy approach. Does anyone know

  1. Is there a real name for this kind of plot? and

  2. Is there an R function/package that makes this easy?

My initial searches haven't turned up anything although I swear I found something relevant in the past… @rstats

izzy,
@izzy@mstdn.games avatar

@jpeelle @rstats I've heard this referred to as a "heatmap" or "density plot" (I prefer the former - a density plot to me is that "layered waves" type plot.)

How to generate this in #rstats depends on what your underlying data looks like, but I've had good success with #ggplot2, as well as dedicated packages for visualization of fitted models.

Examples for base R & #ggplot: https://statisticsglobe.com/heatmap-in-r

Examples for GAMMs - scroll down to the smooths section: https://m-clark.github.io/generalized-additive-models/application.html

terence, to random
@terence@fosstodon.org avatar

#30DayChartChallenge, Day 1: Part-to-whole. Regimes of the World, 2000 to 2023. Data from @vdeminstitute.

#ggplot2 adventures, an #rstats tale

video/mp4

meghansharris, to random
@meghansharris@fosstodon.org avatar

In my head, the last few days have "felt" like Friday. In the midst of all the chaos, I miraculously am still chugging along with...everything I have to do. This week's #rtistry #ggplot2 work is for the "Wavescapes" chapter. In the last week, I've re-learned more about basic trigonometry than I care for. Here are some snapshots of some WIP outputs as I'm still trying to land on an example to go through step-by-step for the beginning of this chapter.

An animated gif showing different still shots of various abstract art with wave-like features.

nrennie, to random
@nrennie@fosstodon.org avatar

📢New blog post 📢

I built a Shiny app to display my plots, which updates automatically every time there's a new plot!

📦 Data extracted from the plot R scripts
💻 GitHub Actions to update the data
🕸️ Deployed with Shinylive

Read about the process in this blog post: https://nrennie.rbind.io/blog/webr-shiny-tidytuesday/

damianooldoni, to programming
@damianooldoni@fosstodon.org avatar

Do you want to become a ggplot hero? Challenge yourself! The INBO coding club of February is online!
Slides: https://bit.ly/3uZkRMC
Webinar: https://bit.ly/3wQM2cU
Homepage: https://bit.ly/49dA1w4
We at @oscibio and INBO 💓 #OpenScience, #rstats, #programming, #ggplot2

biometricbillx, to random
@biometricbillx@mastodon.social avatar

Check out this 3D map of Germany! Very cool video on how to make 3D maps in R using data from ETH Global Sentinel-2 Tree Canopy Height.

https://www.youtube.com/watch?v=4ScYWPMzy6E

#forestry #ForestBiometrics #RemoteSensing #forests #R #ggplot2 #rayshader

ritagiordano, to accessibility
@ritagiordano@vis.social avatar

"{viridis} is an R package that presents colour-blind friendly palettes. It improves the graph readability. The advantage of {viridis} is that the palettes are perceptually uniform, easy to print in greyscale and colour-blind friendly. To use the {viridis} in ggplot2 simply ass:
📊 scale_colour_d()
In the slope graphs I generated in this example, I simply added the function above. The image shows four possible {viridis} palettes.
#rstats #accessibility #ggplot2 #dataviz

mjskay, to random

Merry Distmas! A new version of

(3.3.2) just hit CRAN

The main impetus of the update is minor fixes to support

3.5.0, but there are a few things worth mentioning... 1/5

joranelias, to random
@joranelias@mastodon.social avatar

I know it violates the data component/non-data component dichotomy but I wish it were easier to map aesthetics to categorical axis labels #rstats #ggplot2

joranelias,
@joranelias@mastodon.social avatar

It’s possible to pass vectors of colors in element_text() but it’s unsupported so you get warnings. That method doesn’t work for bold/italic/etc instead you have to resort to things pike ggtext::element_markdown() but that gets cumbersome in conjunction with controlling the order of levels. #rstats #ggplot2

joranelias,
@joranelias@mastodon.social avatar

The best option I’ve found is to insert the markdown via the labels arg to scale_*_discrete #rstats #ggplot2

teunbrand, to random
@teunbrand@fosstodon.org avatar
hrbrmstr, to random
@hrbrmstr@mastodon.social avatar

wow am I #ggplot2 rusty, but the muscle memory is def coming back

CedScherer, to uk
@CedScherer@vis.social avatar

For 25% of surveyed men in the #UK, the point of Valentine's Day is to "get laid" according to a survey from 2015.

More than the half of women responded "show how much you care"—22 percentage points more than men!

Happy Valentine's Day ❤️

Made in #rstats with #ggplot2 💙

#dataviz #datavisualization #tidyverse

fgazzelloni, to datascience

Don't loose the chance for revisting the best parts of making a graph with () in #R.
In this talk I will replicate one of the plate.

When: MON, MAR 4 · 1:00 PM CET

RSVP: https://www.meetup.com/rladies-cambridge/events/299051061/

@RLadiesCam @RLadiesGlobal @rladiesrome

adityadahiya, to random
@adityadahiya@mastodon.social avatar

Share of different ethnicities in candidates fielded by US political parties in local elections (2000-2020)
Data Credits: Justin de Benedictis-Kessner, Diana Da In Lee, Yamil R. Velez & Christopher Warshaw (https://doi.org/10.1038/s41597-023-02792-x)
Featured in https://www.data-is-plural.com/ newsletter by Jeremy Singer-Vine
Tools:

o_simardcasanova, to random
@o_simardcasanova@mastodon.social avatar

Mastodon / #Rstats hive mind

Does anybody have a simple solution to add Hawaii and Alaska in a box in a #ggplot2 map?

I tried with this one, but it was VERY complicated

MattCrumpLab, to random
@MattCrumpLab@fosstodon.org avatar

Really pressed into a vector space analysis of C major scale and basic triads this morning, and got a few things out that I hope will inform my playing. Lot's of graphs too

https://homophony.quest/blog/29_1_29_24_cmajor/

MattCrumpLab, to random
@MattCrumpLab@fosstodon.org avatar

Visualizing chord similarity with #ggplot2 in #rstats. Lots of little things to tweak with this when I have more time

https://homophony.quest/blog/26_1_26_24_space_vis/

terence, to random
@terence@fosstodon.org avatar

Inspired and made possible by @nrennie, here's a typewriter elevation map of Japan. The characters to indicate increasing elevation are: 地, 低, 中, 高, and 峰.

adventures, an tale

A close-up of the Chūbu region to show the characters used

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • GTA5RPClips
  • rosin
  • Youngstown
  • everett
  • khanakhh
  • slotface
  • InstantRegret
  • Durango
  • ngwrru68w68
  • kavyap
  • modclub
  • DreamBathrooms
  • mdbf
  • JUstTest
  • magazineikmin
  • thenastyranch
  • cubers
  • cisconetworking
  • osvaldo12
  • ethstaker
  • normalnudes
  • Leos
  • tester
  • megavids
  • tacticalgear
  • anitta
  • lostlight
  • All magazines