Data analysis of COVID-19 pandemic: a mathematical approach