Technical Notes
The entire book was written in R Markdown, using the bookdown,
rmarkdown, and knitr packages. All figures were made with ggplot2,
with the help of several add-on packages including cowplot, geofacet, ggforce, ggmap, ggrepel, ggridges, hexbin, patchwork, sf, statebins, tidybayes, and treemapify. Color manipulations were done with
the colorspace and colorblindr packages. For many of these packages,
the current development version is required to compile all parts of the
book.
The source code for the book is available at https://github.com/clauswilke/dataviz. The book also requires a
supporting R package, dviz.supp, whose code is available at https://github.com/clauswilke/dviz.supp.
The book was last compiled using the following environment:
## R version 3.5.0 (2018-04-23) ## Platform: x86_64-apple-darwin15.6.0 (64-bit) ## Running under: macOS Sierra 10.12.6 ## ## Matrix products: default ## BLAS: /Library/Frameworks/ ... /libRblas.0.dylib ## LAPACK: /Library/Frameworks/ ... /libRlapack.dylib ## ## locale: ## [1] en_US.UTF-8/en_US.UTF-8/ ... /C/en_US.UTF-8/en_US.UTF-8 ## ## attached base packages: ## [1] stats graphics grDevices utils datasets methods base ## ## other attached packages: ## [1] nycflights13_1.0.0 gapminder_0.3.0 RColorBrewer_1.1-2 ## [4] gganimate_1.0.0.9000 ungeviz_0.1.0 emmeans_1.3.1 ## [7] mgcv_1.8-24 nlme_3.1-137 broom_0.5.1 ## [10] tidybayes_1.0.3 maps_3.3.0 statebins_2.0.0 ## [13] sf_0.7-1 maptools_0.9-4 sp_1.3-1 ## [16] rgeos_0.3-28 ggspatial_1.0.3 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access