TidyTuesday
Analyze the newly released dataset, produce a visualization, and publish both the graphic and your source code before the next dataset posts on Tuesday, or reset your streak to week 1.
The rules
- Use the official weekly dataset released in the Data Science Learning Community GitHub repository. Working on an alternative dataset fails the submission for that week.
- Publish your visualization and a direct link to your raw code publicly before midnight UTC on the following Monday. Missing the Monday cutoff breaks your weekly streak.
- Include the #TidyTuesday hashtag and an image alt-text description in your public post. Omitting either element invalidates the entry under community guidelines.
- Credit the original data source named in the weekly repository README. Submitting a graphic without data attribution counts as a failed week.
- Write and execute your own data-cleaning and plotting script. Reposting unedited community code or using turnkey automated dashboard generators fails the requirement.
What it is
Tom Mock founded TidyTuesday in April 2018 for the R4DS Online Learning Community, which operates today as the Data Science Learning Community. The project releases a new raw or lightly processed dataset every Tuesday to give data practitioners a sandbox for weekly visualization practice. It tests data wrangling, visual design, and reproducible scripting under a recurring seven-day deadline.
One misconception is that participants must write their scripts in R. While the project started to help users master the tidyverse and ggplot2, submissions can use Python, Julia, Observable, D3, or any tool that generates a graphic from raw data alongside readable code. Another misconception is that every post must be a complex, publication-grade infographic. The organizers explicitly design the project for quick exploratory plotting, meaning a single clear bar chart or scatter plot satisfies the weekly goal. The challenge runs across all 52 weeks of the year, resetting each January with a clean repository archive.
Why it works
TidyTuesday operates on deliberate practice, an instructional framework detailed by psychologist K. Anders Ericsson in 1993. Deliberate practice requires clear parameters, immediate feedback, and repeated performance on novel tasks. Typical workplace analytics cycles drag out across weeks, limiting the number of times an analyst plots new data from scratch. TidyTuesday forces 52 complete cycles of data ingestion, hygiene, and visualization in one year.
Public accountability reinforces the habit. Because the community posts diverse solutions to the same prompt every week, participants observe how other programmers solve identical data flaws. Dealing with real data exposes practitioners to messy edge cases such as missing categories, unparsed dates, and skewed distributions across unrelated domains.
How to start
- Install your analytical environment, such as R with the tidyverse and tidytuesdayR packages, or Python with pandas and matplotlib.
- Bookmark the official Data Science Learning Community TidyTuesday repository on GitHub.
- Build a dedicated repository on GitHub named tidytuesday to track your 52 weeks of scripts and image files.
- Join the Data Science Learning Community Slack to follow dataset discussions and technical support threads.
- Post your commitment publicly with the #TidyTuesday hashtag, announcing your plan to complete 52 weekly submissions.
- Pull the current week's dataset on Tuesday morning and complete a 30-minute exploratory data analysis to set your baseline.
The daily plan
| Phase and Weeks | Weekly Rhythm | Technical Focus | Submission Target |
|---|---|---|---|
| Phase 1: Weeks 1 to 13 | Tuesday: load data. Wednesday: clean columns. Thursday: plot. Friday: style. Saturday to Monday: buffer. | Data wrangling and basic chart types using standard bar, line, and scatter geometries. | 1 clean plot and reproducible script per week. |
| Phase 2: Weeks 14 to 26 | Tuesday: load and explore. Wednesday: wrangle. Thursday: custom theme. Friday: add annotations. Weekend: share. | Custom typography, accessibility palettes, and purposeful plot annotations. | 1 annotated plot with custom color themes per week. |
| Phase 3: Weeks 27 to 39 | Tuesday: inspect edge cases. Wednesday: transform data. Thursday: build complex geometry. Friday: polish layout. | Faceting, multi-layered plots, distribution plots, and geospatial mapping. | 1 multi-variable chart or map with full alt-text per week. |
| Phase 4: Weeks 40 to 52 | Tuesday: ingest. Wednesday: draft script. Thursday: polish graphic. Friday: export and publish. | Production efficiency, modular code functions, and advanced graphic formatting. | 1 finished visualization delivered within a 60-minute timebox per week. |
What success looks like
- Reaching the week 26 midpoint with 26 consecutive datasets cleaned, plotted, and published to a public repository without a missed deadline.
- Completing week 52 with an archive of 52 published graphics demonstrating at least eight distinct chart types.
- Dropping your baseline data-wrangling and plotting time from over two hours per dataset down to under 45 minutes by the end of the year.
Where people quit
- Over-scoping the visualization design, which hits between weeks 3 and 6 when participants try to build complex infographics and run out of time; fix this by setting a 60-minute timer and posting the graphic when the buzzer rings regardless of detail.
- Imposter syndrome from community posts, hitting around week 12 when viewing elaborate layouts from veteran data designers; fix this by ignoring likes and treating the challenge solely as a code syntax log.
- Dataset fatigue, occurring around weeks 20 to 25 when the weekly subject matter feels uninteresting; fix this by filtering the data to a single column pair and plotting a basic distribution rather than analyzing the entire file.
- Holiday disruptions, hitting between weeks 48 and 51 during end-of-year travel; fix this by drafting a standardized template script that loads the dataset and renders a baseline chart in 15 minutes.
Variations
- Bi-Weekly TidyTuesday: submit every other week for 26 total projects across the calendar year if your work schedule cannot support a weekly code sprint.
- Single Chart Restriction: complete all 52 weeks using only one chart type, such as dot plots or box plots, to master styling that specific geometry across varied data structures.
- The 30DayChartChallenge serves as a daily alternative with a prompt every day in April, rather than a single weekly dataset spanning the entire year.
Who should skip this
- Absolute coding beginners who have never written a line of script; take an introductory syntax course first because the challenge does not provide step-by-step programming instruction.
- Employees bound by restrictive employer confidentiality policies that forbid publishing source code or personal projects online; run the exercises in an offline folder instead.
- Anyone with fewer than 90 minutes of free time per week; rushing through unfamiliar data frames under extreme time deficits produces messy habits rather than sound analytical skills.
FAQs
Can you use Python for TidyTuesday?
Yes, you can use Python for any TidyTuesday submission. While the initiative began within the R programming community, the organizers accept submissions built in Python, Julia, Observable, Tableau, or raw D3. The only core technical requirement is that you use the official dataset and share your underlying code publicly alongside the rendered graphic.
How much time does TidyTuesday take each week?
TidyTuesday takes between 45 minutes and two hours per week depending on the complexity of your graphic. Novice participants often spend two hours reading the schema and cleaning columns. Experienced analysts can produce a clean, annotated chart in 30 to 45 minutes by using personal script templates and limiting the exploratory scope.
Do you have to share your code publicly?
Yes, sharing your code publicly is a foundational rule of TidyTuesday. The project functions as an open-learning initiative designed to help community members inspect alternative plotting methods. You must link to your raw script, whether hosted on GitHub, GitLab, or a public gist, when you publish your finished graphic online.
Where do you find the weekly TidyTuesday dataset?
The Data Science Learning Community posts the new dataset every Tuesday in their public GitHub repository at github.com/rfordatascience/tidytuesday. R users can load the files directly using the tidytuesdayR package, while Python users and others can read the raw CSV files straight from the repository URLs.
364 days, starting whenever you say.
Leave your email and we send check-ins for TidyTuesday. One click to unsubscribe.