In order to study the food safety problems contained in food inspection information, this paper crawls the food inspection data in recent years from the website of the national food quality supervision and inspection center, extracts the knowledge from various of food inspection data, and stores them in the graph database to construct the knowledge graph of food inspection data. On the basis of this knowledge graph, a visual analysis system based on web is built. Through the visual interactive interface, the possible food safety problems can be visually displayed and analyzed according to the requirement of users. The system can play a guiding role in effectively sorting out food inspection data and discovering related knowledge.