text_html_output_1.png
import matplotlib.pyplot as plt

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

import seaborn as sns

data = pd.read_csv('/kaggle/input/novel-corona-virus-2019-dataset/time_series_covid_19_confirmed.csv')

data.columns

us = data[data['Country/Region'] == 'US']
us

us = us.drop(['Province/State', 'Country/Region', 'Lat', 'Long'], axis=1)

us.T

us = us.T.reset_index()
us

us = us.rename(columns={'index': 'date', 225: 'confirmed'})
us

sns.set_style('whitegrid')

plt.figure(figsize=(18, 5))
sns.set_style('whitegrid')
sns.barplot(x='date', y='confirmed', data=us)
plt.xticks(rotation=90)
plt.show()