Introducing: ggplot2

Due to the importance of visualization for data science and statistics, R offers a rich set of tools and packages. The core R language already provides a rich set of plotting functions and plot types. These plotting functions require users to specify how to plot each element on the canvas step by step. By contrast, the ggplot2 package allows the specification of plots through set of plotting layers. This requires the package to figure out the required steps to take to produce the graph.

Through the pre-defined set of geometric layers, facets and themes ggplot2 enables users to create beautiful graphs in very short time. ggplot2 is also the most widely adopted plotting library in the R community.

Why data visualization is important