text_html_output_1.png
import pandas as pd

import plotly.express as px

symptoms = {'symptom': ['Fever', 'Dry cough', 'Fatigue', 'Sputum production', 'Shortness of breath', 'Muscle pain', 'Sore throat', 'Headache', 'Chills', 'Nausea or vomiting', 'Nasal congestion', 'Diarrhoea', 'Haemoptysis', 'Conjunctival congestion'], 'percentage': [87.9, 67.7, 38.1, 33.4, 18.6, 14.8, 13.9, 13.6, 11.4, 5.0, 4.8, 3.7, 0.9, 0.8]}
symptoms = pd.DataFrame(data=symptoms, index=range(14))

fig = px.pie(symptoms, values='percentage', names='symptom', title='Symtoms of Coronavirus', template='seaborn')
fig.update_traces(rotation=90, pull=0.05, textinfo='value+percent+label')
fig.show()