Software engineer who ❤️ #dataviz.
Creator of https://t.co/sj29jZPkYr and the R, Python, D3 and React graph galleries.
➡️ https://t.co/PoJNeHXz8a
📈 🌊 🍺
Oct 15, 2024 • 5 tweets • 2 min read
You can create data reports that are... meh,
OR invest 11 minutes in those tricks:
1️⃣ With plotly, your ggplot2 chart becomes interactive instantly. (1.5 minutes - 2 lines of code)
🧵
2️⃣ With DT, include your dataset as a filterable, sortable, searchable table (1.5 minutes - 2 lines of code)
3️⃣ Add a bit of CSS to fit your brand and add some space between titles
(3 minutes - 10 lines of code)
Mar 13, 2024 • 9 tweets • 2 min read
You're starting a new Data Analysis project with #rstats or #pythonprogramming.
➡️How do you organise your work files? 🤔
Here is a thread about how I do it.
Any other best practice you use??
🧵
1️⃣
Start with a "Input" folder
- Put your raw data in it. And NEVER edit it manually again.
- Make sure ALL the dataset required for the project are here. Your project must be self contained
Jan 4, 2023 • 8 tweets • 4 min read
My beginner/intermediate #Rstats friends often ask me for tips.
➡️Here is the 'dream pipeline' I use for my data analysis, ending with a clean, interactive, online report:
🧵..
Let's take a famous dataset: relationship between
- GDP per capita,
- population, and
- life expectancy
⭐️Tip 1⃣: Use ggplot2 and the tidyverse to get a clean chart easily.