I have 10+ years of university-level education.

But no lecture taught me how to create good visualizations.

These things are crucial for communication but are often not part of the training.

So, let's have a crash course on visualization guidelines anyone can implement. 🧵
1. Know your audience

You can't use the same visualization for every audience.

A plot that works in a scientific journal may bore (or confuse) non-scientists.
2. Know your takeaways

Forget the dream of putting ALL of your great insights into one powerful plot.

This. does. not. work.

If anything, this dream is a gateway to using too many chart types all at once.

Visualize only your most important insights (maybe in separate plots).
3. Use only a few chart types in one plot

A bar chart here. Add a line there. Include some points and text labels over there. And all of a sudden you've got a mess.

Here's a SWD makeover reducing the number of chart types. Looks cleaner, right?

Source: storytellingwithdata.com/blog/bar-chart…
4. Be mindful of your color use

Colors are great. But they can easily overwhelm your reader.

There are two similar rules of thumb that can help to avoid that:

- Start with grey
- Emphasize just one or a few categories
5. Avoid rainbow colors

They can turn into a colorful rainbow mess pretty quickly.

Here are my go-to alternatives palettes:

Coloors generator: coolors.co/d9f4c7-f8fa90-…
Viridis: sjmgarnier.github.io/viridis/index.…
Okabe-Ito: mikemol.github.io/technique/colo…
6. Reduce clutter

Do you really need all labels? Or all grid lines or axes? Especially with labeled bar charts there is really no need to keep it all.
7. Align labels

Your plot feels more harmonious if labels are aligned and not spread out all over the place.

For example, what feels "smoother" in this image?

Remember that next time you create a table with centered columns.
8. Remove the legend and label directly

Do you really need a legend? It can take up sooo much valuable space of your plot.

Besides, switching back and forth from the legend to the plot can be quite challenging for your reader.

Instead, you can label directly.
These were just a few of my most favorite dataviz "rules".

Of course, there's lots more to learn.

So let's talk resources.
Fundamentals of Data Visualization by @ClausWilke is a great resource to learn more about dataviz.

Best part? It's totally free and open-source.

clauswilke.com/dataviz/
Another great and totally free resource is

Data Visualization: A practical introduction by @kjhealy

socviz.co/index.html#pre…
I've also enjoyed the Storytelling with Data book.

It's pretty short but filled with insights. Unfortunately, it's not free.

storytellingwithdata.com/books
Now, it's one thing to know the rules but it's another thing to apply them.

My recommendation? Practice with the weekly #tidyTuesday challenge.

Each week, a new data set for practicing your data skills is published.

A great competition for all levels. github.com/rfordatascienc…
If you're getting started with visualizations, you'll likely need help.

But don't worry, there are resources for templates/inspiration. Here are my 4 favorite helpers:

1️⃣ cookbook-r.com/Graphs/

2️⃣ r-graph-gallery.com

3️⃣ python-graph-gallery.com

4️⃣ data-to-viz.com
That's a wrap for today.

I hope that you enjoyed this little intro to data visualization 😊

What are your favorite dataviz rules? How did you learn about them? 🤔
Thanks, @cmuirmath, for pointing out that I could have mentioned an important rule:

Make your plots accessible. This can include:

- colorblind-friendly colors (like the above Okabe-Ito, Viridis colors)

- Double-coding (e.g. use color AND shape for categories)

- Add alt-text

• • •

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

Keep Current with IAmSciComm - Albert Rapp

IAmSciComm - Albert Rapp 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 @iamscicomm

Nov 1
There are hundreds of online resources for learning how to code.

But there are much fewer online resources for math.

Maybe that's because LaTeX (the premier math writing tool) isn't good at creating them.

#QuartoPub can do both. So, is it a worthy alternative?🧵 #mathematics
What is Quarto?

Short answer: It's a tool that can create many output formats all from one interface.

That means you can create classical PDF math papers as well as online math books with Quarto.
You may be sceptical about the online part. Maybe you have only seen math in PDF format.

But I assure you that it's a real thing. And it's powerful.

For example, every day hundreds of mathematicians on MathOverflow talk about research-level math online. mathoverflow.net
Read 16 tweets
Oct 31
Quarto becomes *really* cool when you see all the beautiful outputs it can create.

Let's have a look at some more #QuartoPub examples.

Let's start with good old fashioned PDF documents.

With Quarto, you can still do all the PDF stuff you used to do.

nmfs-opensci.github.io/quarto_titlepa… ImageImage
You can even add beautiful title pages to your PDFs.
nmfs-opensci.github.io/quarto_titlepa… Image
Read 9 tweets
Aug 30
Alright, another common misconception I encounter is the gene vs allele/variant mixup. Most often I see it phrased something like "She has the gene for breast cancer."
In this example, I think we all understand what the person means: she has a genetic variant that makes her more predisposed to breast cancer. For a lot of purposes, that's the only information we really need.
But in reality, we all have two copies or alleles of the BRCA2 gene, one from each parent. But some of us have versions of that gene that make us more prone to developing breast cancer.
Read 9 tweets
Aug 30
Alright, time to talk some DNA misconceptions and how we can try and break them down!

First up, myths about dominant and recessive traits.
This one hurts, because I thought a lot of these were true for a while!

Often when learning about genetics, we learn that things like tongue-rolling, attached earlobes, and PTC tasting are pure dominant/recessive traits. They're simple, easy traits to demonstrate in a classroom.
But unfortunately, many of them aren't really true dominant/recessive traits! There's a great website called "Myths of Human Genetics" by John H. McDonald at the University of Delaware that breaks down where many of these myths came from: udel.edu/~mcdonald/myth…
Read 12 tweets
Aug 30
Good morning, all! Today, we're gonna talk about the importance of SciComm in Genetics. Why genetics specifically?

Because that's what my PhD is in, so I'm biased towards it being the coolest science 😂.
BUT ALSO because I strongly believe we're all increasingly asked to make choices that involve genetics in our everyday lives, and I want to equip everyone with the vocabulary to feel comfortable making these choices, from getting a DNA test at the doctor to understanding GMOs.
And while I've believed this for a long time, it was thrown into an incredible spotlight over the past few years, as things like PCR and RNA became household words. Imagine my delight as I saw RNA trending, and then the sadness as I found threads full of misinformation.
Read 6 tweets
Aug 29
I am always happy to help with this question! Here's a thread on my best recs for starting out in video.
First, if you have a smartphone with a video camera, you already have a very impressive piece of equipment in your hand. Multiple feature films have been shot on smartphones recently (admittedly they often have some extra lenses on them) and the quality can really be stunning.
(Also the saying "The best camera is the one you have with you," really applies here).
Read 13 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 on Twitter!

:(