Dataframes are one of the datastructures on which most analytics and machine learning implementations are done. It is the most popular and best way for representing tabular data. They are made up of several arrays and similar data structures, and they can store data in multiple formats, including logical data, string data, and numeric data. So, visualizations can be done against one or multiple columns of the same dataframe, which makes it easy for the analyst to express numerical information in the dataframe.
To get started with this recipe, you have to install the
Gadfly library as you did in the previous recipe.
As we will be using the datasets from R packages, we also need to import the
RDatasets package. This ...