Direct link to the book:http://serialmentor.com/dataviz/
-
-
-
The book is not a programming book, but it is entirely written in R Markdown and all figures are made with ggplot2.
Show this thread -
Show this thread
End of conversation
New conversation -
-
-
It is a great book! Love it. I am creating a
#Docker container to build the book from source. I found that it calls for some pre-requisites that may not be installed in all computers (GDAL, sf). What do you think? -
The book uses a lot of development code, including for packages that I modify as I go along writing new chapters. Therefore, at this time, I don't provide any support for building the book. Things could change any moment.
-
Your
#rtstats dataviz book built nicely!https://github.com/docker-oilgains/rstudio-dataviz/blob/master/Dockerfile … -
You need the development version of ggforce, otherwise the sina plots will look wrong.
-
Done! I added the development version of ggforce. You will need to add, though, one line to notes.Rmd. For some strange reason, that notebook wasn't giving error, with ggforce3-dev, now does. Will be committing Dockerfile in few minutes. Dockerhub image will auto update.pic.twitter.com/8SByJb7ETN
-
You’re building a version that includes draft chapters and notes. Could you please modify your build so only completed chapters are included? See here: https://github.com/clauswilke/dataviz/blob/master/_build_final.sh …
-
Never mind. I'll change my repository so the default build includes only final chapters. That's probably more intuitive.
-
Actually, I realize now that I had set up the repo the way it was for a reason. This is exactly the situation I don't want to be in, where I have to worry about whether and how other people can build the book.
- 3 more replies
New conversation -
-
-
Awesome. Should 14.2 have the text labels match the line color, like the ggrepel vignette? https://cran.r-project.org/web/packages/ggrepel/vignettes/ggrepel.html …
-
My personal opinion is that most of the time it's better to color the data points than the labels. In the ggrepel example you cite, the data points are barely visible underneath the labels. I think it should be the other way round.
-
I thought this was fairly legible, but I understand some palettes may not work well for textpic.twitter.com/1vFxKqBsyb
-
This example looks fine, but I'd recommend using a slightly darker color for the text labels. If this is R, try to darken them with the `darken()` function in the development version of colorspace.
-
E.g. this color uses darker versions of the colors for the text labels than for the bars:http://serialmentor.com/dataviz/color-basics.html#fig:popgrowth-US …
-
I didn’t notice that….nice touch.
End of conversation
New conversation -
-
-
This is fantastic--so helpful! Wish esp geospatial examples were around during the weeks when I was trying to figure out how to make these:pic.twitter.com/3uDhoj7zVU
-
How did you make the legend? As far as I know there’s a bug that I only just proposed a fix for that messes up the spacing in color-bar legends with multi-line titles.
-
In the process of updating scripts now, but this figure script is here: https://github.com/armartin/haplotypes/blob/master/aggregate_map_ibd.R …. Please lmk if scale_fill_gradientn bug!
-
Surprised this works. Maybe the bug is only in the development version of ggplot2?https://github.com/tidyverse/ggplot2/issues/2397 …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.