Yan Holtz Profile picture
Jul 15, 2021 7 tweets 7 min read Read on X
☀️New load of #rstats and #python charts 🚢

Would you know how to build them?

🧵🔗⬇️🙏
1/5 One more example by @CedScherer showing how to add proper labels on a line chart:

R: r-graph-gallery.com/web-line-chart…
Python: python-graph-gallery.com/web-line-chart…
2/5 One more example by @alextuowang: a good looking radar chart:

R: r-graph-gallery.com/web-radar-char…
Python: python-graph-gallery.com/web-radar-char…

btw, I know radar chart are criticised:
data-to-viz.com/caveat/spider.…
3/5 Manhattan plots for genetic studies. R by me, Python by Ozlem Tok.

R: r-graph-gallery.com/101_Manhattan_…
Python: python-graph-gallery.com/manhattan-plot…
4/5 Chord diagram with python using the MNE library, by @MGolos

R: r-graph-gallery.com/chord-diagram.…
Python: python-graph-gallery.com/406-chord-diag…
5/5 last but not least, 2 blogposts to explain how to use custom fonts with R (#ggplot2) and Python (#Matplotlib).

Massive thanks to @CaprettoTomas 🙏🙏🙏

R: r-graph-gallery.com/custom-fonts-i…
Python: python-graph-gallery.com/custom-fonts-i…
Hope those examples can help level up your #dataviz skills!

One more Thank you to @CedScherer, @alextuowang and @CaprettoTomas for their work.

Please let me know if you want to see your work incorporated in the galleries!!🙏🙏

✨🐍🚢🐳☀️👋👋

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Yan Holtz

Yan Holtz Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @R_Graph_Gallery

Oct 15
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)
4️⃣ Use tabs when many charts are required to save real estate
(2 minutes - 3 lines of code)

5️⃣ Not everyone wants to read the code. Fold it and annotate it! (30 secs - 3 lines of code)
Read 5 tweets
Mar 13
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??

🧵 Image
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
2️⃣
Then create a "R" or "Python" folder with ALL your scripts.
Those scripts read the data, analyse them, and create outputs.
Read 9 tweets
Jan 4, 2023
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.

r-graph-gallery.com/320-the-basis-… bubble chart built with ggplot2
⭐️Tip 2⃣: make this graph interactive with ONLY 1 additional line of code 😍! I promise, just 1 more.

Thanks to the plotly package and its ggplotly() function.

You now have the details of each circle in a tooltip.

r-graph-gallery.com/bubble-chart.h…
Read 8 tweets
Jan 3, 2023
👋Are you interested in #dataviz?

⭐️I created 8 free online projects on the topic!😀

Please let me introduce them:

🧵.. A classification of chart types based on input data format
Everything started with the R graph gallery:

A collection of hundreds of graphs made with #rstats, always with explanation and code. (often using ggplot2)

r-graph-gallery.com
Since it worked well, I created the equivalent for all my #pythonprogramming friends!

@matplotlib and Seaborn are very good tool too!

python-graph-gallery.com
Read 10 tweets
May 11, 2022
👋 I've made a new #dataviz related website! 😀

It's called☀️dataviz-inspiration.com: a list of many stunning Viz projects I love💜

🧵 dataviz-inspiration.com lis...
➡️For now, about 100 projects are showcased, resulting in ~150 beautiful graph examples.

📈But I will make it grow every day, instead of filling my bookmarks tab 😀 Image
🔎You can filter items based on chart types.

Let's say you have a #heatmap to build, it can be handy to see what people have made before you!

Chart classification is based on data-to-viz.com Image
Read 6 tweets
Oct 6, 2021
👋 I have 5 new @matplotlib python tutorials for #Dataviz 🤓
➡️stream chart, grouped barplot, histogram, linear regression and dual Y axis

python-graph-gallery.com

🧵
1⃣First one is about streamgraph. There is much more manual work involved than with #Rstats

python-graph-gallery.com/streamchart-ba…
2⃣ How to build a chart with 2 Y axes. A bad practice 99% of the time but still requested by many ppl so...

python-graph-gallery.com/streamchart-ba…
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(