Wearing a face mask, Mr Xi also visited a community health centre, where he had his temperature checked.
More than 900 people have been killed by the virus, the gravest public health crisis in China since Sars in 2002-3.
During his visit, Mr Xi urged "more decisive measures" to combat the virus.
The Chinese leader has kept a low profile over weeks as the outbreak has worsened. He is yet to visit Wuhan, where the virus first emerged.