Data Availability
In order to quantitatively explore the relationship between the spread of the COVID-19 and information diffusion, we first visited the Baidu Index website through Python to obtain the Baidu search index of the keywords related to the epidemic during the outbreak from January 19 to February 10, 2020 to measure the level of information diffusion. The data of infected case during the corresponding period mainly come from the daily epidemic data released by the National Health Commission. The self-control and traffic control data come from the public information of each city’s Health Commission website and government website on taking preventive and control measures, and they are scored uniformly according to the degree of control, and the corresponding values are added up. The national migration data and Wuhan's outflow data come from Baidu Migration. The control variables at the city level come from China City Statistical Yearbook. In addition, cities without outbreaks were also excluded. After collation, 6417 observations from 301 cities were finally obtained.