Search
572 results for “nrennie”
-
A simple stacked bar chart for #TidyTuesday this week, looking at disparities in the number of male and female tortoises 🐢
Made with Plotnine in #Python 📊
Code: https://github.com/nrennie/tidytuesday/tree/main/2026/2026-03-03
-
Did you know you can now access #TidyTuesday data in #Python as well as #RStats?
Here's a plot of this week's data about Pixar films made with Plotnine! 📊
💻 Import data using PyDyTuesday
🎨 Coloured subtitle text added with highlight_text
🖊️ Fonts installed with pyfonts by Joseph BarbierCode: https://github.com/nrennie/tidytuesday/tree/main/2025/2025-03-11
-
I'm absolutely thrilled to be one of the runners up in the 2024 Plotnine Contest! 📊
You can view my annotated area chart and blog post about it's creation here: https://nrennie.rbind.io/blog/plotnine-annotated-area-chart/
Winners announcement: https://posit.co/blog/winner-of-the-2024-plotnine-plotting-contest/
-
A quick chart looking at the rankings of different clubs in the FA Women's Super League for #TidyTuesday this week!
📊 chart made using `plotnine` in Python
✍️ coloured and bold text added with `highlight-text`
💡 Googling for `plotnine` help? Add a -ggplot2 to your search to hide ggplot2-specific results!Code: https://github.com/nrennie/tidytuesday/tree/main/2024/2024-07-16
-
🚨 New blog post! 🚨
I've written up a tutorial blog post showing you how to make annotated area charts using plotnine in Python (with a little bit of help from highlight-text and matplotlib to add coloured text as a subtitle)! 📊
(possibly of interest to #RStats users who make plots with #ggplot2!)
Blog post: https://nrennie.rbind.io/blog/plotnine-annotated-area-chart/
-
Thanks to Forecasting for Social Good for inviting me to deliver a workshop on "Forecasting with Generalised Additive Models (GAMs) in R" today! We talked about:
❓ What are GAMs?
❓ How do we fit GAMs in R?
❓ Model evaluation and forecasting
❓ When GAMs go wrong!Slides: https://nrennie.github.io/f4sg-gams
GitHub: https://github.com/nrennie/f4sg-gams
Posit Cloud: https://posit.cloud/content/7637971
-
Thanks to Forecasting for Social Good for inviting me to deliver a workshop on "Forecasting with Generalised Additive Models (GAMs) in R" today! We talked about:
❓ What are GAMs?
❓ How do we fit GAMs in R?
❓ Model evaluation and forecasting
❓ When GAMs go wrong!Slides: https://nrennie.github.io/f4sg-gams
GitHub: https://github.com/nrennie/f4sg-gams
Posit Cloud: https://posit.cloud/content/7637971
-
Thanks to Forecasting for Social Good for inviting me to deliver a workshop on "Forecasting with Generalised Additive Models (GAMs) in R" today! We talked about:
❓ What are GAMs?
❓ How do we fit GAMs in R?
❓ Model evaluation and forecasting
❓ When GAMs go wrong!Slides: https://nrennie.github.io/f4sg-gams
GitHub: https://github.com/nrennie/f4sg-gams
Posit Cloud: https://posit.cloud/content/7637971
-
Thanks to Forecasting for Social Good for inviting me to deliver a workshop on "Forecasting with Generalised Additive Models (GAMs) in R" today! We talked about:
❓ What are GAMs?
❓ How do we fit GAMs in R?
❓ Model evaluation and forecasting
❓ When GAMs go wrong!Slides: https://nrennie.github.io/f4sg-gams
GitHub: https://github.com/nrennie/f4sg-gams
Posit Cloud: https://posit.cloud/content/7637971
-
Thanks to Forecasting for Social Good for inviting me to deliver a workshop on "Forecasting with Generalised Additive Models (GAMs) in R" today! We talked about:
❓ What are GAMs?
❓ How do we fit GAMs in R?
❓ Model evaluation and forecasting
❓ When GAMs go wrong!Slides: https://nrennie.github.io/f4sg-gams
GitHub: https://github.com/nrennie/f4sg-gams
Posit Cloud: https://posit.cloud/content/7637971
-
30 days of generative art finished for #Genuary2023!🎨🎨🎨
Full images on Behance: https://www.behance.net/gallery/162087637/Genuary-2023
Code available on GitHub: https://github.com/nrennie/genuary
-
A simple plot for this week's #TidyTuesday hiding lots of messy data wrangling in the background! I calculated the change in estimated number of open museums in areas with different levels of deprivation 🏛️🏛️🏛️
Code: https://github.com/nrennie/tidytuesday/tree/main/2022/2022-11-22
#RStats #R4DS #DataViz #DataVisualisation #DataVizualisation
-
For the "minimal" prompt on #Day16 of the #30DayMapChallenge, can you guess which city this is just from the road network around it?
Code: https://github.com/nrennie/30DayMapChallenge/blob/main/2022/scripts/16_minimal.R
#RStats #15MinuteMaps #DataViz #DataVisualisation #DataVizualisation #Mapstodon #Maps
-
It's #Day13 of the #30DayMapChallenge and the theme is "5 minutes" - so how far can you get from Oxford Train Station in 5 minutes?
Code: https://github.com/nrennie/30DayMapChallenge/blob/main/2022/scripts/13_five_minutes.R
#RStats #15MinuteMaps #DataViz #Mapstodon #DataVisualisation #DataVizualisation #Spatial
-
Inspired by Calle Börstell to make something akin to radio dials for this week's #TidyTuesday dataset on radio stations in the USA!
Thanks to Frank Hull and Erin for the data this week!
Code: https://github.com/nrennie/tidytuesday/tree/main/2022/2022-11-08
#rstats #r4ds #DataViz #DataVisualisation #DataVizualisation
-
Inspired by Cara Thompson
to make some cakes for this week's #TidyTuesday using Great British Bake Off data! 🍰 🍰 🍰 The {bakeoff} R package is awesome!Code: https://github.com/nrennie/tidytuesday/tree/main/2022/2022-10-25
#RStats #DataViz #r4ds #GBBO #DataVisualistion #ggplot2 #DataScience #DataVizualisation
-
I really enjoyed giving a brief introduction to Julia for statisticians yesterday - thanks to Jake Grainger and Charles Dufour for organising such a great session!
-
It's the last day of the #30DayMapChallenge! For the "Remix" theme on #Day30, I've recreated the map I made on day 26 using {leaflet} instead!
Code: https://github.com/nrennie/30DayMapChallenge/blob/main/2022/scripts/30_remix.R
-
Using the same data as I did on day 2, I re-created this map of GDP in South America for #Day29 of the #30DayMapChallenge! 🐍🐍🐍 It was interesting to re-make a similar map in #python for a change!
Code: https://github.com/nrennie/30DayMapChallenge/blob/main/2022/scripts/29_comfort_zone.py
-
Exploring #rayshader in #rstats for the "3D" theme on #Day28 of the #30DayMapChallenge! ☁️☁️☁️I had fun creating layers of cloud cover over the Western Isles for this one!
Code: https://github.com/nrennie/30DayMapChallenge/blob/main/2022/scripts/28_3D.R
-
I re-worked a #TidyTuesday submission from a few weeks ago for the "music" prompt for today's #30DayMapChallenge - looking at radio stations in the USA 🇺🇸
Code: https://github.com/nrennie/30DayMapChallenge/blob/main/2022/scripts/27_music.R
-
A map of the Western Isles for the "Islands" theme on #Day26 of the #30DayMapChallenge - with a few distillery locations highlighted! 🎨Colours based on the Western Isles tartan! 🏴
Code: https://github.com/nrennie/30DayMapChallenge/blob/main/2022/scripts/26_islands.R
-
Cities in the UK have a much higher density of Greggs per area than rural areas - shown using the {biscale} #rstats package in this map for the "Two Colours" theme!
Code: https://github.com/nrennie/30DayMapChallenge/blob/main/2022/scripts/25_two_colours.R
-
A map of Middle Earth for the "fantasy" theme on #Day24 of the #30DayMapChallenge! 🌲
Code: https://github.com/nrennie/30DayMapChallenge/blob/main/2022/scripts/24_fantasy.R
-
I used the {rStrava} #rstats package to grab my own data for the "movement" theme on #Day23 of the #30DayMapChallenge! 🏃♀️🏃♀️🏃♀️ Here's an animated gif of my Great North Run data from this year!
Code: https://github.com/nrennie/30DayMapChallenge/blob/main/2022/scripts/23_movement.R
-
Revisiting the Greggs data once again for the "NULL" theme on #Day22 of the #30DayMapChallenge - identifying council and unitary authority areas with no branches of Greggs!
Code: https://github.com/nrennie/30DayMapChallenge/blob/main/2022/scripts/22_null.R
-
Using the Kontur population data for #Day21 of the #30DayMapChallenge and looking at the population of Germany 🇩🇪 🇩🇪 🇩🇪
Code: https://github.com/nrennie/30DayMapChallenge/blob/main/2022/scripts/21_kontur.R
-
For the "My Favourite..." theme on #Day20 of the #30DayMapChallenge, I mapped out the land in my favourite mountain range - the Cairngorms!
Code: https://github.com/nrennie/30DayMapChallenge/blob/main/2022/scripts/20_favourite.R
-
Catching up on some #30DayMapChallenge posts from the last few days - a couple of different projections for the "globe" theme from #Day19!
Code: https://github.com/nrennie/30DayMapChallenge/blob/main/2022/scripts/19_globe.R
-
I tried out the {tanaka} #rstats package for the first time today for the "blue" prompt on #Day18 of the #30DayMapChallenge!
Code: https://github.com/nrennie/30DayMapChallenge/blob/main/2022/scripts/18_blue.R