@ -67,7 +67,7 @@ We use the`ggplot2`package for plotting a line graph of the confirmed covid case
The graph looks like this:
The graph looks like this:


To make the plot understandable, we can change the Y-axis scales to numbers instead of abbreviated points (abbreviated to e) using the ['scales'](https://scales.r-lib.org/) package. We can also add points, title, customized labels on the line graph for a better presentation.
To make the plot understandable, we can change the Y-axis scales to numbers instead of abbreviated points (abbreviated to e) using the ['scales'](https://scales.r-lib.org/) package. We can also add points, title, customized labels on the line graph for a better presentation.
You have now successfully added customized labels to the axes, titled the plot, changed the colour of the line to red and points on the y-axis are now in the numerical format instead of the abbreviated format.
You have now successfully added customized labels to the axes, titled the plot, changed the colour of the line to red and points on the y-axis are now in the numerical format instead of the abbreviated format.


Similarly, you can now plot the line graphs for the recovered and the deceased cases.
Similarly, you can now plot the line graphs for the recovered and the deceased cases.
ggtitle("Deceased COVID-19 cases from Jan 2020 to Nov 2021") +
ggtitle("Deceased COVID-19 cases from Jan 2020 to Nov 2021") +
scale_y_continuous(labels=comma)
scale_y_continuous(labels=comma)
```
```




scale_fill_gradient(low = "green", high = "red",labels = comma)
scale_fill_gradient(low = "green", high = "red",labels = comma)
```
```


Similarly, we can also make the bar charts for the recovered and the deceased cases in different colours.
Similarly, we can also make the bar charts for the recovered and the deceased cases in different colours.





