Chapter 4 Visualize
Communication is an essential part of data science. A key aspect of the successful communication of numerical or statistical results consists in creating transparent visualizations. Creating effective visualizations is challenging and often effortful, but can also be very enjoyable.
Most people conceptualize data as numeric information and think of R as a language for statistical computing. R is really good at that, but there are many programs for doing statistics. A lot of people use R because of its graphical powers — not just for visualizations of data, but also for mathematical concepts and relations (e.g., functions), different kinds of charts and diagrams (e.g., riskyr), decision trees (e.g., FFTrees), and computational artwork (e.g., the creative experiments at Fronkonstin).
Starting your own journey into data science with creating visualizations may seem unususal. However, it is a great way of understanding how R scripts work (as we can see the effects of our commands) and provides students with an immediate sense of achievement.
Recommended background readings for this chapter include:
Before you read on, please take some time to reflect upon the following questions:
Where do you usually encounter visualizations? Who created them?
What are the goals, benefits and dangers of visualizations?
What distinguishes good from bad visualizations?