The paper considers the task of analyzing complex interconnected objects using graphs. The subject of the research is such multidimensional object as a "politician". The paper presents the main methods of visualizing multidimensional data and the choice of data analysis is justified using graphs. An algorithm that enables to automate data collection on politicians was developed. One of the main methods of data collecting on the Internet is web scraping. Web scraping software may access the World Wide Web directly using the HTTP, or through a web browser. While web scraping can be done manually by a software user, the term typically refers to automated processes implemented using a software agent. The process of transition from an object of the "personality" type to its graph representation with various types of nodes and edges is described. The use of graphs enables to see various types of relationships, including mediate. The features of the used Gephi software for data analysis are presented. This methodology enables to change the attitude towards the analysis of multidimensional objects.