Experiment | Pyecharts implements scatter plot

1. Introduction

This experiment mainly introduces the scatter plot theory and the implementation of scatter plot based on Python.

1.1. The purpose of the experiment

Master the basic usage scenarios of scatter plots, and use Python's pyecharts module to implement scatter plots.

1.2. Knowledge points

  • Scatter plot theory
  • Scatter chart implementation

2. Scatter chart theory

  • Introduction to Scatter Chart:

Scatter chart, also called XY scatter chart, displays data in the form of points to show the relationship or degree of influence between variables. The position of the point is determined by the value of the variable.

  • scenes to be used:

Display the relationship between the values ​​in several data series, similar to the XY axis, to determine whether there is a certain correlation between two variables, or to find the distribution or aggregation of the data.

  • Advantages of scatter chart:

Can display the distribution and aggregation of data, suitable for displaying larger data sets.

  • Disadvantages of scatter chart:

The scatter chart looks messy, basically it can only look at correlation, distribution and aggregation, and other information can't be displayed well.

3. Scatter chart classification

4. Implementation of Scatter Chart

Output result:

For more content, please follow Haidata Lab (WeChat public account).

Share this issue here, we will update the content every day, we will see you next issue, and look forward to your visit again. If you have any suggestions, such as the knowledge you want to know, the problems in the content, the materials you want, the content to be shared next time, and the problems encountered in learning, please leave a message below. Please pay attention if you like it.

Guess you like

Origin blog.csdn.net/qq_40433634/article/details/108771375