Electric vehicle (EV) has been popularized and promoted on a large scale because of its clean and efficient features. Charging this increasing number of EVs is expected to have an impact on the electricity grid and traffic network. Therefore, it is necessary to model and forecast the EV charging demand. Most of the existing researches have not utilized real-world traffic data to analyze the EV charging demand. Few researches have considered and analyzed the characteristics of space-time transfer of charging load in urban functional areas. As an emerging mode of transportation, however, online ride-hailing trip data provide an ideal source for analyzing traffic planning and operation. On the basis of this, a charging demand forecasting model of EVs based on a data-driven approach was presented in this paper. In this methodology, it is firstly assumed that residents’ transportation trip demand is not restricted by vehicle categories(electric or fuel vehicles). The original trip trajectory data of Didi online ride-hailing were conducted to model via data mining and fusion. And the process of data analysis included region-scope selection, spatial grid modeling, trajectory data mapping, retrieval data identification and urban functional area clustering as well as traffic network modeling. Through modeling and processing, the following regenerative feature data were obtained: functional regional division (i.e., residential areas, industrial areas, commercial areas, and public service areas), trip rule distribution (i.e., temporal distribution and spatial distribution on weekdays, weekends and holidays) and actual driving path (i.e., driving path with the shortest distance or with the minimum time-consuming). And then, considering the movable load feature of EVs, vehicles were subdivided into three kinds such as private vehicles, taxis and other public vehicles, and the single EV model with driving and charging characteristic parameters was established. Furthermore, the regeneration data obtained from modeling and analysis along with the determined single EV model were supported as data sources and model for the charging demand forecast architecture. At last, the actual urban traffic network in Nanjing, China was selected as an example to design the path planning experiments and charging demand load experiments in different scenarios. The results demonstrate that this proposed model is able to realistically simulate the actual dynamic driving process of EVs, and effectively predict the spatial-temporal distribution characteristics and load transfer trends of charging demands in different date type as well as different functional areas. The model also lays a theoretical foundation for the subsequent research on investment and construction of charging facilities, as well as charging control and charging guidance of EVs.