Visualisation is important in data science because it tells more information than what would have been acquired by just using numeric or categorical data alone.
For instance, below is a dataframe of the daily temperatures in Melbourne, Australia from 1981 to 1990. As can be seen in the tabulated data, it is a bit difficult to read it as it is presented below:-
Using Python’s matplotlib library, the tabular data is plotted on a graph, making it much easier to read. Plotting the data on a graph makes it easier to see the seasonality of the temperatures:-
A basic requirement for a graph is that it is clear and readable. In order to plot a well presented graph, it should have a minimum of:-
- Title
- Data points
- Axis labels
The graph below is an adaptation of the earlier graph in this work. It has:-
- Title