Basic Data Visualization
Perhaps I am too bold for saying this, but I don’t think there is a point in wrangling or analyzing data if you are not going to visualize it. As previously mentioned, the human brain is so much better at understanding images than numbers or words. Furthermore, in the era of huge amounts of data, presenting tables would not be the most interesting way to identify or even just visualize patterns.
Data visualization means presenting information in a visual format, such as a graphic, a map, or another visual way of encoding data, such as an infographic, for instance, which is a combination of graphics, text, and other elements that help you to tell a story and transmit a message.
In this chapter, we are going to see basic data visualization using the native plotting capabilities of RStudio. We will start with plots of a single variable, which are the best way to visualize distributions. Included in this group are histograms, boxplots, and density...