Internet of Things (IoT) technology is developing rapidly in recent years. With the maturity of this technology, many device companies have already start to provide various IoT devices to consumers, such as smart speaker and smart meter. Then, the security problems of IoT devices become more and more important. Except that device companies ensure the security of IoT devices in technology level, users and IoT professors should have enough security knowledge as well. In this paper, we introduce a novel framework for generating web-based 3D and 360-degree VR materials for IoT security education. In order to enhance the educational effort of these materials, we important visual analyzing tools, Time Tunnel and Cubic Gantt Chart, into this framework. By using these two tools, we can easily obtain the common week points of the education target, and such results can help us improve the development of IoT security education materials.