A book covering the fundamentals of data visualization.
Switch branches/tags
Nothing to show
Clone or download
Latest commit bb7de9f Nov 18, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R started directory of visualizations Aug 16, 2017
css table formatting, copy editing Sep 22, 2018
datasets Reorg chapter order in Part II, rebuild website Jun 9, 2018
docs fix doi link Sep 28, 2018
figures New images for image formats chapter. Closes #56. Nov 13, 2018
html_includes enable google analytics Mar 10, 2018
images isotype figure Nov 4, 2018
.gitignore Notes on colors Jun 4, 2017
LICENSE Create LICENSE Jun 4, 2017
README.md Update README.md Feb 1, 2018
_bookdown_draft.yml minor fixes and build revisions Sep 22, 2018
_bookdown_final.yml minor fixes and build revisions Sep 22, 2018
_build_asciidoc.sh Ascii-doc versions of completed chapters. Mar 12, 2018
_build_draft.sh make default build include only final chapters Jan 28, 2018
_build_final.sh new build Mar 18, 2018
_common.R now truly 300 dpi at 4.2in Jun 21, 2018
_deploy.sh make sure figures show up on github Dec 31, 2017
_output.yml much improved directory of visualizations, major clean-up and full re… Oct 22, 2017
aesthetic_mapping.Rmd update code to latest colorspace version Sep 12, 2018
annotated_bibliography.Rmd Completed time series chapter. Jul 31, 2018
avoid_line_drawings.Rmd Updated iris figures. Closes #47. Sep 21, 2018
balance_data_ink_ratio.Rmd fix typo Sep 23, 2018
bibliography.bib subsection on memorable figures. Closes #48. Nov 12, 2018
boxplots_violins.Rmd new approach to sina plots. fixes #64. Nov 15, 2018
choosing_visualization_software.Rmd revise for new styling. Apr 11, 2018
color_basics.Rmd update code to latest colorspace version Sep 12, 2018
coordinate_systems_axes.Rmd minor fixes Nov 10, 2018
dataviz.Rproj minor edits Jul 11, 2017
directory_of_visualizations.Rmd new approach to sina plots. fixes #64. Nov 15, 2018
figure_titles_captions.Rmd fix typos Sep 22, 2018
geospatial_data.Rmd new figures Nov 18, 2018
image_file_formats.Rmd New images for image formats chapter. Closes #56. Nov 13, 2018
index.Rmd enable google analytics Mar 10, 2018
introduction.Rmd typo fix. I assign the copyright of this contribution to Claus O. Wilke. Aug 28, 2018
multi-panel_figures.Rmd reclassify figures Jul 30, 2018
nested_proportions.Rmd fix various typos Nov 17, 2018
no_3d.Rmd reclassify figures Jul 30, 2018
notes.Rmd notes for next chapters Jan 29, 2018
outline.Rmd Reorg chapter order in Part II, rebuild website Jun 9, 2018
overlapping_points.Rmd started to write text for associations chapter. Jul 13, 2018
pitfalls_of_color_use.Rmd fix color pitfalls figure Sep 22, 2018
preface.Rmd reclassify figures Jul 30, 2018
proportional_ink.Rmd reclassify figures Jul 30, 2018
redundant_coding.Rmd new figures and figure tweaks Sep 15, 2018
references.Rmd add bibliography Jun 7, 2017
small_axis_labels.Rmd revised data-ink-ratio chapter. closes #49 Sep 22, 2018
technical_notes.Rmd wind turbine maps Nov 17, 2018
telling_a_story.Rmd subsection on memorable figures. Closes #48. Nov 12, 2018
time_series.Rmd fix various typos Nov 17, 2018
visualizing_amounts.Rmd fix bar plots with axis line on top of bar Jul 30, 2018
visualizing_associations.Rmd fix various typos Nov 17, 2018
visualizing_distributions_I.Rmd minor fixes and build revisions Sep 22, 2018
visualizing_distributions_II.Rmd Reorg chapter order in Part II, rebuild website Jun 9, 2018
visualizing_proportions.Rmd first complete draft of nested proportions chapter. Sep 20, 2018
visualizing_trends.Rmd new approach to sina plots. fixes #64. Nov 15, 2018
visualizing_uncertainty.Rmd Some progress on nested proportions chapter. Sep 4, 2018

README.md

Fundamentals of Data Visualization

A guide to making visualizations that accurately reflect the data, tell a story, and look professional.

Claus O. Wilke

This repository holds the R Markdown source for the book "Fundamentals of Data Visualization" to be published with O’Reilly Media, Inc. A rendered version of the completed book chapters is available here. The book requires a supporting R package available here.

The book is meant as a guide to making visualizations that accurately reflect the data, tell a story, and look professional. It has grown out of my experience of working with students and postdocs in my laboratory on thousands of data visualizations. Over the years, I have noticed that the same issues arise over and over. I have attempted to collect my accumulated knowledge from these interactions in the form of this book.

If you notice typos or other issues, feel free to open an issue on GitHub or send me a pull request. If you do the latter, in your commit message, please add the sentence "I assign the copyright of this contribution to Claus O. Wilke," so that I can maintain the option of publishing this book in other forms.

This work is licensed under the Attribution-NonCommercial-NoDerivatives 4.0 International License.

Frequently Asked Questions

1. Can you include the R code for the figures as part of the book?

No. The book is very purposefully designed to not be a programming book. The moment a book contains even one line of computer code, some people who don't use the chosen language will dismiss the book as not relevant to them. That's why the famous Numerical Recipes books had to be rewritten in so many different versions: Numerical Recipes in C, Numerical Recipes in Fortran, Numerical Recipes in C++. The recipes were always the same, but the C users didn't want to read the Fortran book and vice versa. At this time, I don't want to write a book about data visualization in R. I want to write a book about fundamental principles of data visualization that hold regardless of the chosen visualization toolchain.

2. Can you at least provide direct links from the figures to the code chunks in the markdown files?

No. First, this is really a feature request for R Markdown. If R Markdown provided this feature I might consider turning it on. Second, however, for many figures in the book there is no single self-contained code chunk that generates the figure. Instead, a later figure in a chapter may depend on computations that were performed in an earlier chunk for a different figure. In general, even though the R Markdown files for individual chapters are self-contained, the code chunks within each file build on top of each other. Therefore, to understand how a specific figure was made, you may have to read through the entire R Markdown file for that chapter.

Disclaimer

This is a personal repository that is not meant for public use at this time. It is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. No installation or technical support will be provided.