Trending

#DSLC

Latest posts tagged with #DSLC on Bluesky

Latest Top
Trending

Posts tagged #DSLC

Post image

My first-ever #TidyTuesday! ๐ŸŽ‰

Sheep ratio decreased. Crop production increased instead!

The plot tracks changes in production volume for each category, alongside their Compound Annual Growth Rate (CAGR). ๐Ÿ“ˆ๐Ÿšœ

Code here:
github.com/more-mm/tidy...
#MyFirstTidyTuesday #DataViz #r4ds #DSLC

16 1 0 0

I feel like a larger-scale replication study of this important topic ("a good life for all within planetary boundaries") would be really empowering for my students. So I would be keen to hear from anyone who knows about useful resources or has done something similar in their classes! #DSLC

0 0 0 0
A heatmap showing seismic activity at Mount Vesuvius from 2013 to 2024. Each column represents a year, with weeks running vertically. Darker shades indicate stronger seismic events. A square above, indicates year total. The chart shows no clear seasonal trend, but overall activity varies by year.

A heatmap showing seismic activity at Mount Vesuvius from 2013 to 2024. Each column represents a year, with weeks running vertically. Darker shades indicate stronger seismic events. A square above, indicates year total. The chart shows no clear seasonal trend, but overall activity varies by year.

This week's #TidyTuesday data is all about seismic activity at Mount Vesuvius! ๐ŸŒ‹

๐Ÿ“Š Two heatmaps showing weekly and annual patterns
๐Ÿฉน Joined with {patchwork}
๐ŸŽจ Volcano inspired colour palette

#DataViz #RStats #DSLC #ggplot2

26 3 1 0
Preview
dslc.io The Data Science Learning Community develops tools and resources to foster the data science community to which we want to belong. Whether we are seeking our first job as a data professional orโ€ฆ

Fun fact: DSLC started in 2017 as an online R for Data Science book club and now it's a community of thousandsโ€‹ (dslc.io)! ๐Ÿ“ˆ Proof that learning together catches on. If you're grinding through a data book alone, consider finding a group. #DSLC #rstats #datascience

5 1 0 0
The chart visualizes the daily number of dogs surrendered to Long Beach Animal Care Services from 2017 to early 2024. Each year is highlighted in a different shade, with vertical lines representing individual surrender events. Notable observations include a drop in surrenders during the COVID-19 pandemic in 2020-2021 and spikes on specific days, such as November 6, 2017, and May 29, 2023, when 10 dogs were surrendered. The overall trend suggests fluctuations in surrender rates, with post-pandemic numbers rising again.

The chart visualizes the daily number of dogs surrendered to Long Beach Animal Care Services from 2017 to early 2024. Each year is highlighted in a different shade, with vertical lines representing individual surrender events. Notable observations include a drop in surrenders during the COVID-19 pandemic in 2020-2021 and spikes on specific days, such as November 6, 2017, and May 29, 2023, when 10 dogs were surrendered. The overall trend suggests fluctuations in surrender rates, with post-pandemic numbers rising again.

For this week's #TidyTuesday data from Long Beach animal rescue, I focused on when owners surrender dogs ๐Ÿ•

๐ŸŽฏ Aim: show daily data alongside aggregated counts by year
โ“ Why: view temporal patterns on different scales at the same time
๐Ÿ“Š How: lollipop chart + heatmap

#DataViz #RStats #DSLC #ggplot2

37 3 3 0

I finally got around to finishing off this project which:

๐Ÿฆบ scrapes Shakespeare poems and plays using {rvest}
๐Ÿ“‚ then cleans them up and exports to CSV
๐Ÿ“Š to make 195 datasets ready to analyse!

Link: github.com/nrennie/shak...

#RStats #DataScience #DSLC

41 4 2 0
Grid of proportional area charts (one for each US state) arranged in the shape of the US. Each chart shows the proportion of US customs and border control encounters who are unaccompanied minors, accompanied minors, members of family units, or single adults between Jan 2020 and Nov 2024. Most are single adults, with an increasing proportion of family units in the second half of the time frame.

Grid of proportional area charts (one for each US state) arranged in the shape of the US. Each chart shows the proportion of US customs and border control encounters who are unaccompanied minors, accompanied minors, members of family units, or single adults between Jan 2020 and Nov 2024. Most are single adults, with an increasing proportion of family units in the second half of the time frame.

It's time for #TidyTuesday again! We're looking at data on encounters with US Customs and Border Patrol (via Tony Galvan) ๐Ÿ“Š

Code: github.com/nrennie/tidy...

#DSLC #RStats #DataViz #ggplot2

41 6 1 0
A data visualization titled 'Bob's Burgers' shows the distribution of unique words per episode across the first ten seasons of the animated sitcom. The yellow background contrasts with the red density plots, which depict the frequency distribution of unique words. Each season is represented on the vertical axis, from 1 to 14, while the horizontal axis shows the number of unique words, ranging from 800 to 1600. Hamburger icons are scattered within the density plots, representing individual episodes. Text explains that the sitcom follows the Belcher family running a hamburger restaurant and notes that the number of unique words per episode grows slightly over time. Credit is given to the data source and graphic creator at the bottom.

A data visualization titled 'Bob's Burgers' shows the distribution of unique words per episode across the first ten seasons of the animated sitcom. The yellow background contrasts with the red density plots, which depict the frequency distribution of unique words. Each season is represented on the vertical axis, from 1 to 14, while the horizontal axis shows the number of unique words, ranging from 800 to 1600. Hamburger icons are scattered within the density plots, representing individual episodes. Text explains that the sitcom follows the Belcher family running a hamburger restaurant and notes that the number of unique words per episode grows slightly over time. Credit is given to the data source and graphic creator at the bottom.

We're looking at Bob's Burgers data (via @sponce1.bsky.social ) for #TidyTuesday this week! ๐Ÿ“Š Who knew the world needed a raincloud plot where it's raining hamburgers?

๐ŸŒง๏ธ Raincloud plot built with {ggplot2}
๐Ÿ” Hamburger icons from {emoji}
๐Ÿ„ Logo added with {cowplot}

#RStats #DSLC #DataViz #ggplot2

23 0 5 1
Preview
GitHub - nrennie/shakespeare: CSV files of the works of William Shakespeare. CSV files of the works of William Shakespeare. Contribute to nrennie/shakespeare development by creating an account on GitHub.

I had fun curating this week's #TidyTuesday data (which I scraped from shakespeare.mit.edu using the {rvest} package)! ๐Ÿ“ฆ

TidyTuesday Data: github.com/rfordatascie...

You can also find a few more Shakespeare dialogue datasets here: github.com/nrennie/shak...

#RStats #DataViz #DSLC

5 0 1 1
Horizon chart showing episode ratings for each season of Power Rangers. Seasons 6-10, 17, and 27-28 appear more popular.

Horizon chart showing episode ratings for each season of Power Rangers. Seasons 6-10, 17, and 27-28 appear more popular.

We're looking at rating of Power Rangers episodes for #TidyTuesday this week!

๐ŸŒ… Horizon plot made using {ggHoriPlot}
๐ŸŽจ Colours from colorbrewer
โœ๏ธ Text formatted with {ggtext}

Code: github.com/nrennie/tidy...

#RStats #DataViz #ggplot2 #DSLC

15 0 2 1
On the left, a spiral showing time since 1850 to 2022 with coloured boxes indicating the time when a World's Fair occurred. On the right, coloured text showing which countries each colour relates to. In more recent years, a wider range of countries are hosting fairs.

On the left, a spiral showing time since 1850 to 2022 with coloured boxes indicating the time when a World's Fair occurred. On the right, coloured text showing which countries each colour relates to. In more recent years, a wider range of countries are hosting fairs.

We're looking at World's Fairs data for #TidyTuesday this week!

๐ŸŒ€ Plotted long time series data in a spiral using {spiralize}
๐Ÿ“ท Combined with text using {ggplot2} and {ggimage}
๐Ÿ“Š Coloured text and icons added with {ggtext}

Code: github.com/nrennie/tidy...

#RStats #DSLC #DataViz #ggplot2

15 3 1 0
A sankey bump chart showing the number of medals won by athletes from each of Africa, Americas, Oceania, Asia, Europe, and Other. Europe takes up the most space.

A sankey bump chart showing the number of medals won by athletes from each of Africa, Americas, Oceania, Asia, Europe, and Other. Europe takes up the most space.

A (very topical) chart for #TidyTuesday this week - showing the number of medals won by athletes from different continents since the Summer Olympics began!

๐Ÿ“Š Chart made with {ggsankey}
๐ŸŽจ Colours based on Olympic rings
โœ๏ธ Fonts from Google Fonts

#RStats #ggplot2 #DataViz #DSLC

21 4 3 1
a plot of the names of the top 10 American Idol contestants across all seasons arranged in a partial circle. The winners are highlighted in a brighter blue, and the American Idol logo is in the middle of the circle.

a plot of the names of the top 10 American Idol contestants across all seasons arranged in a partial circle. The winners are highlighted in a brighter blue, and the American Idol logo is in the middle of the circle.

For #TidyTuesday this week, I decided to take the opportunity to create an example of using {ggtextcircle}!

โญ• Visualising names of contestants on partial circle with {ggtextcircle}
๐Ÿ“ท Added the logo with {ggimage}
๐Ÿ“Š Coloured text in subtitle with {ggtext}

Code ๐Ÿ‘‡

#RStats #DataViz #ggplot2 #DSLC

14 0 2 0
a rank chart showing how the ranking of different Women's football clubs in the FA Women's Super league have changed. Chelsea Women are highlighted.

a rank chart showing how the ranking of different Women's football clubs in the FA Women's Super league have changed. Chelsea Women are highlighted.

A quick chart looking at the rankings of different clubs in the FA Wome's Super League for #TidyTuesday this week!

๐Ÿ“Š chart made using `plotnine` in Python
โœ๏ธ coloured and bold text added with `highlight-text`

Code: github.com/nrennie/tidy...

#Python #DataViz #DSLC #plotnine

2 0 1 0
a series of 8 area charts arranged in a single row, showing the number of uses of each of the core tidyverse packages during 2023. Hex stickers replace facet labels. ggplot2 is the highest.

a series of 8 area charts arranged in a single row, showing the number of uses of each of the core tidyverse packages during 2023. Hex stickers replace facet labels. ggplot2 is the highest.

For #TidyTuesday, I decided to use {funspotr} to analyse how often I used {tidyverse} packages during my 2023 #TidyTuesday visualisations!

๐Ÿ“Š data collected with {funspotr}
๐Ÿ“ท images added with {ggtext}
๐Ÿ—บ๏ธ colours from {rcartocolor}

Code: github.com/nrennie/tidy...

#RStats #DataViz #ggplot2 #DSLC

11 1 0 0
12 month 2030 calendar with 11 federal holidays highlighted

12 month 2030 calendar with 11 federal holidays highlighted

12 month 2025 calendar with 11 federal holidays highlighted

12 month 2025 calendar with 11 federal holidays highlighted

12 month 2024 calendar with 11 federal holidays highlighted

12 month 2024 calendar with 11 federal holidays highlighted

For this week's #TidyTuesday data on US federal holidays, I created a simple calendar plot!

๐Ÿ“… Lots of data wrangling with {stringr} & {lubridate}
๐Ÿ“Š Calendar plot with {ggcalendar}
๐Ÿ’ป Created a parameterised plot function to make a plot for each year

#RStats #DataViz #ggplot2 #DSLC

10 0 1 0
Diverging bar chart showing spending per year on the 10 vegetables with the highest expenditure across both years. Tomatoes is on top, with all spending in 2020.

Diverging bar chart showing spending per year on the 10 vegetables with the highest expenditure across both years. Tomatoes is on top, with all spending in 2020.

A quick bar chart for #TidyTuesday this week, looking at data from the {gardenR} package!

๐Ÿ“Š comparing 2020 and 2021 spending with diverging bar chart
๐ŸŸฉ bar charts made with geom_rect in {ggplot2}
โœ๏ธ labels added using {ggtext}

Code: github.com/nrennie/tidy...

#RStats #DataViz #DSLC #ggplot2

7 0 0 0
A stream plot showing coal production since 1900, with colours denoting different types of coal. There amount of coal produced has increased greatly over time, and is still currently increasing.

A stream plot showing coal production since 1900, with colours denoting different types of coal. There amount of coal produced has increased greatly over time, and is still currently increasing.

We're looking at data from Carbon Majors for #TidyTuesday this week!

๐Ÿ“Š Streamplot made with {ggstream}
๐Ÿ—บ๏ธ Colours from {rcartocolor}
โœ๏ธ Text labels added with {ggtext}

Code: github.com/nrennie/tidy...

#RStats #DataViz #DSLC

16 1 0 0
A map of Europe, with each country represented by a pie chart. The size of the pie chart indicates number of public sector employees. The chart shows split between male and female employees - mostly female in most countries.

A map of Europe, with each country represented by a pie chart. The size of the pie chart indicates number of public sector employees. The chart shows split between male and female employees - mostly female in most countries.

A 5x5 grid of record icons with labels below indicating artists and album names for the Rolling Stone's top 25 albums of all time in 2020, with colour of record showing which decade it was released in.

A 5x5 grid of record icons with labels below indicating artists and album names for the Rolling Stone's top 25 albums of all time in 2020, with colour of record showing which decade it was released in.

Four coffee cup icons which are partially full - height of cup shows what percentage of people preferred each of coffee A, B, C, or D.

Four coffee cup icons which are partially full - height of cup shows what percentage of people preferred each of coffee A, B, C, or D.

It's been a busy few weeks so I had several weeks of #TidyTuesday to catch up on!

๐Ÿ—บ๏ธ {geofacet} to create a map of pie charts
๐Ÿ“Š using geom_circle() from {ggforce} to make records
โ˜• Font Awesome icons + {statebins} to create half-full coffee cups

#RStats #DataViz #R4DS #DSLC

6 1 1 0
Polar co-ordinate lollipop chart with a log-scale radial axis showing the number of objects launched into space each year. An image of the Earth is in the middle of the chart.

Polar co-ordinate lollipop chart with a log-scale radial axis showing the number of objects launched into space each year. An image of the Earth is in the middle of the chart.

For #TidyTuesday this week, we're looking at objects launched into space!

๐Ÿ“ŠPolar lollipop chart of objects launched per year
๐Ÿ“ทImage added with {ggimage}
๐ŸงฎLots of maths to figure out the geometry!

Code: github.com/nrennie/tidy...

#RStats #R4DS #DSLC #DataViz

9 2 1 1