With the development of e-commerce, different scale, industries and enterprises can improve productivity and profitability in new ways. At the same time, the development of e-commerce makes digital transformation and digital services more and more popular. However, researchers pay little attention to the relationship between the two, and there is still a gap in the bibliometric analysis and research on this topic at present. Under this background, it is of great significance to explore the relationship between electronic commerce and digital transformation. In this paper, 253 articles were retrieved from the Web of Science database, and the results were compared with those of "Electronic Commerce", "Innovation Mechanism", "Digital Transformation", "Digital Trade", "Digital Capital" and "Digital Services" and other key words for a comprehensive data and visual analysis. Using big data analysis technology and visualization software, the author analyzes the key words, main research institutions, countries and the sources of publications through four visualized illustrations in order to show the relationship between e-commerce and digital transformation more directly, so as to make up for this research gap, to reshape the traditional business development model and promote the mutual application of e-commerce and digital transformation in the future, it provides the research foreland and thoughts for the development of electronic commerce and digital transformation in our country and even in the world.