29/06/2020

Introduction

In this presentation our goal is to demonstrate the total number of cases of COVID 19 across the globe. We would display it using plotly library in R.

For this we are using covid 19 dataset till 26/06/2020.

##   X countriesAndTerritories geoId popData2019 total.cases code
## 1 1             Afghanistan    AF    38041757       29481  AFG
## 2 2                 Albania    AL     2880913        2047  ALB
## 3 3                 Algeria    DZ    43053054       12076  DZA
## 4 4                 Andorra    AD       77146         855  AND
## 5 5                  Angola    AO    31825299         186  AGO
## 6 6                Anguilla    AI       14872           3  AIA

Plotly Map Representation of the data

fig <- plot_ly(covid, type='choropleth', locations=covid$code
               ,z=covid$total.cases,text=covid$countriesAndTerritories, colorscale="Blues")
fig <- fig %>% layout(
  title = 'Total COVID 19 Cases around the world till 26/06/2020<br>(Hover for breakdown)'
)
fig