With the development of science and technology, people's dependence on the Internet and spiritual needs have increased simultaneously, so online dating has gradually become popular. Because high-quality online dating can increase people's happiness and benefit people's physical and mental health, and people's multifaceted preferences will affect the choice of dating partners and the success rate of online dating, so the research on users' behavior preferences in online dating is of great importance. This paper uses the method of data visualization to conduct research, focusing on the comparative study of behavioral preferences in online dating among different ages and genders. The analysis shows that the elderly and women in the dating market are relatively passive. At the same time, people still have certain prejudices against online dating, and there may be some people who do not aim to obtain a romantic relationship.