Layer plot of all the sheep in new Zealand over the years
Welsh sheep are obviously the best sheep, but the kiwis do a good sheep too
Code Here: pgdatavizandstats.netlify.app/data_visuali...
#TidyTuesday | #dataviz | #ggplot2
@pgdataviz.bsky.social
Statistical Programmer (Epidemiologist by training) using #Rstats and #Python mostly. #DataScience #Dataviz https://pgdatavizandstats.netlify.app/
Layer plot of all the sheep in new Zealand over the years
Welsh sheep are obviously the best sheep, but the kiwis do a good sheep too
Code Here: pgdatavizandstats.netlify.app/data_visuali...
#TidyTuesday | #dataviz | #ggplot2
>>> def add_two_nums(): num1 = input("Enter the first number you want to add: num2 = input("Enter the second number you want to add: ") if num1.isdigit() and num2.isdigit(): pass else: print("Error: One or both of the numbers you entered are not numbers. Enter a number numbskull") sum = num1 + num2 print(f"The sum of the two numbers is: {sum}") ... add_two_nums() Enter the first number you want to add: 6 Enter the second number you want to add: 7 The sum of the two numbers is: 67
I don't use it very often but I may have to update the "I have strong skills in python" part of the CV
11.02.2026 11:34 β π 0 π 0 π¬ 0 π 0Sunburst chart
Quick sunburst plot in python this morning. Better labelling of each layer would have been nice but I couldn't work it out
Code Here: pgdatavizandstats.netlify.app/data_visuali...
#TidyTuesday | #dataviz | #ggplot2 | #pydyTuesday
Just found out that pressing Tab in the Linux Terminal autocompletes the file name. So much time checking spelling and making mistakes that could not have been wasted.
02.02.2026 13:00 β π 0 π 0 π¬ 0 π 0A tree map of the various African languages
Back after a nice, long, winter break. African Languages this week and a chance to try out Tree Maps
Code Here: pgdatavizandstats.netlify.app/data_visuali...
#TidyTuesday | #dataviz | #ggplot2
Flashed over Nobara during my daughter's nap. Installed like a charm and runs nicely and I've about 50 new headaches (mainly website related) to fix but
11.01.2026 12:42 β π 0 π 0 π¬ 0 π 0I like positron but I can't get the LaTeX compatibility to work in Quarto. I probably could but, RStudio just works, and I can't be bothered
10.01.2026 07:53 β π 2 π 0 π¬ 0 π 0Popped onto my Windows partition because I needed a Windows program. It decided to update itself without asking. It's now nerfed my Linux partition somehow and copilot has reactivated itself on the windows side.
Luckily everything is backed up.
It's time to wipe the laptop and go all in on Fedora
Has flashbacks to his master's thesis they he thought would be a good idea to write in LaTeX in RStudio
20.12.2025 14:04 β π 0 π 0 π¬ 0 π 0books.google.co.uk/books/about/...
Foundational reading during my master's
One has to ask, did they even bother with a power review?
Still the paper got traction on the BBC and other news websites and, in the end, that's all that matters
Picture of Qar-tar prices in Qatar
Family/Christmas/Birthday/Work means this may be the last attempt at #TidyTuesday this year. First full year doing it and enjoyed. Not sure if I got better though!
Code Here: pgdatavizandstats.netlify.app/data_visuali...
#rstats | #tidyverse | #dataviz
RStudio is using 88 Gb of RAM
The adrenaline rush I am getting right now. This must be what Base jumping is like
28.11.2025 12:45 β π 1 π 0 π¬ 0 π 0Working with datasets that definitely require the use of data.table. Genuinely very impressive package #rstats
25.11.2025 18:32 β π 6 π 0 π¬ 0 π 0Here's a good one. Rendering my quarto html in #positron causes loads of errors implying that quarto isn't installed correctly (I've uninstalled and reinstalled multiple times) but if render the same html in #RStudio, it renders with no drama
24.11.2025 16:56 β π 0 π 0 π¬ 0 π 0A word cloud of the words in Sherlock Holmes Man, one are the two biggest words
Tried doing a World cloud of the words in the entire Sherlock Holmes in python with a nasty head cold - can't recommend the head cold part.
Code: pgdatavizandstats.netlify.app/datavis
#PydyTuesday | #TidyTuesday | #Python
Two area plots of TB deaths hiv versus non hiv
This week's submission for #PydyTuesday. Missed ggplot slot when trying to make this plot
Code here: pgdatavizandstats.netlify.app/data_visuali...
#rstats | #python | #dataviz | #TidyTuesday
Sorry for the late reply, but thank you.
This is a much slicker/fancier version of what I did in the end. I will keep this for next time though!
I know I think it's more "honourable", if that's the right word to do it in matplotlib or seaborn. But they have ported over the best visualisation package ever created in plotnine so I'm not sure why I don't just use that
06.11.2025 18:41 β π 0 π 0 π¬ 0 π 0Haha tbh I'm not sure it's worth the effort. Still it's good to know the option is there
06.11.2025 16:36 β π 0 π 0 π¬ 1 π 0My submission for #PydyTuesday. A quick jaunt back to Python and some Violin plots
Code here: pgdatavizandstats.netlify.app/data_visuali...
#rstats | #python | #dataviz | #TidyTuesday
Thank you, that did do the trick, with a lot of manually programming the x and y coordinates. Lifesaver - thank you!
05.11.2025 15:05 β π 1 π 0 π¬ 0 π 0a pciture of a sankey plot
Anyone here better with the ggsankey package than I am? - I am trying to label the flow with the number of people transitioning through each stage. I have found no examples on the internet of labeling the flow (plenty labeling the nodes).
I have below what I need to try
#rstats #dataviz #ggplot2
Looked at the percentage of Oxbridge educated people who have won various British Literary Prizes for #TidyTuesday. I used ggbrick and, as the bricks of look like books, tried to make it look like they were in bookshelves with meh results.
Code here: tinyurl.com/bddsuuc3
#rstats | #dataviz
If anybody has any good tips/resources for a statistical programmer who has a technical interview as a data scientist, let me know. I've not done one before
(Background is epidemiology and clinical trials but this would be in health data science looking at massive datasets)
#rstats #datascience
Thanks. It appears so, I didn't plan on it :)!
23.10.2025 14:11 β π 1 π 0 π¬ 0 π 0Graph of Average Rainfall and Sunshine
Graph of Average Min and Max Temp
As a Welshman, taking the opportunity to ignore the English and focus only on Wales for #TidyTuesday. Looking at the average weather for Wales in 2024 and now I've made myself homesick.
Code here: pgdatavizandstats.netlify.app/data_visuali...
#rstats | #dataviz
Access to Safely Managed Drinking WAter
It's Monday which mean my chaotic self is submitting last weeks #TidyTuesday. I chose to look at water access as most people had looked at food in much nicer ways than me.
Code here: pgdatavizandstats.netlify.app/data_visuali...
#rstats | #dataviz
A table showing the winners of the European Basketball League
Holiday and job-hunting sucking my soul mean I am a week behind and needed to do a(nother) rush job for #TidyTuesday. I have been playing with Reactable though
Code here: pgdatavizandstats.netlify.app/data_visuali...
#rstats | #dataviz
Thank you. I would love to be able to "render" the pdf like you can in RStudio.
I'll have a look. Thanks again