text_plain_output_1.png
import matplotlib.pyplot as plt

import os

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import os
plt.style.use('fivethirtyeight')

full_table = pd.read_csv('/kaggle/input/novel-corona-virus-2019-dataset/covid_19_data.csv', parse_dates=['ObservationDate'])

italy = pd.DataFrame(full_table[full_table['Country/Region'] == 'Italy'])
france = pd.DataFrame(full_table[full_table['Country/Region'] == 'France'])
germany = pd.DataFrame(full_table[full_table['Country/Region'] == 'Germany'])
uk = pd.DataFrame(full_table[full_table['Country/Region'] == 'UK'])
spain = pd.DataFrame(full_table[full_table['Country/Region'] == 'Spain'])
turkey = pd.DataFrame(full_table[full_table['Country/Region'] == 'Turkey'])

fig, ax = plt.subplots(figsize=(15, 7))
ax.set_xlabel('Observation Date')
ax.set_ylabel('Count of Confirmed Positive Cases, Deaths, and Recoveries')
italy[['ObservationDate', 'Confirmed', 'Deaths', 'Recovered']].plot(x='ObservationDate', kind='line', ax=ax, title='Tracking Corona Virus in Italy')
fig, ax = plt.subplots(figsize=(15, 7))
ax.set_xlabel('Observation Date')
ax.set_ylabel('Count of Confirmed Positive Cases, Deaths, and Recoveries')
germany[['ObservationDate', 'Confirmed', 'Deaths', 'Recovered']].plot(x='ObservationDate', kind='line', ax=ax, title='Tracking Corona Virus in Germany')
fig, ax = plt.subplots(figsize=(15, 7))
ax.set_xlabel('Observation Date')
ax.set_ylabel('Count of Confirmed Positive Cases, Deaths, and Recoveries')
spain[['ObservationDate', 'Confirmed', 'Deaths', 'Recovered']].plot(x='ObservationDate', kind='line', ax=ax, title='Tracking Corona Virus in Spain')