Based on the public data from the health departments of Tianjin and Shenzhen, we conducted a comparative analysis of the coronavirus disease 2019 (COVID-19) epidemic situation between these 2 cities. The aim of this study was to evaluate the role of public data in epidemic prevention and control of COVID-19, providing a scientific advice for the subsequent mitigation and containment of COVID-19 prevalence.