Traditional Culture Encyclopedia - Weather inquiry - How to make radar chart

How to make radar chart

Radar chart is a chart used to display multidimensional data. The steps of making radar map are as follows:

1, collecting data

First of all, you need to determine the data you want to show, which should be comparable, such as the business data of different enterprises in the same industry or the ability data of different students in the same school. Collect the data to be displayed, which should be representative and reflect all aspects to be displayed.

2. Data standardization

Because there may be great differences between the data, it is necessary to standardize the data in order to make the data comparable. Specifically, you can divide each data by the maximum value to get a relative value, so that all data are between 0 and 1.

According to the size and quantity of data, the angle of each data on the radar map is calculated. Specifically, if the size of the data is x, the angle is arc tan(x). If the number of data is n, each data occupies an angle of 360/n..

3, drawing graphics

According to the calculated angle and the size of the data, the radar map is drawn. You can use tools such as Excel, PowerBI or Python to draw. In order to make the radar chart more beautiful and readable, the chart can be beautified, such as adding titles, labels and colors.

The function of radar

object detection

The basic task of radar is to detect the target of interest and determine the state parameters such as distance, azimuth and speed of the target. This makes radar widely used in military, aviation, aerospace and other fields. For example, military radar can be used for missile guidance, target tracking and other tasks, while civil aviation radar can be used for route planning and avoiding air traffic conflicts.

weather forecast

Radar can be used to detect clouds and rain areas, thus helping meteorologists predict weather conditions. By analyzing radar echo images, information such as rainfall, wind speed and wind direction can be predicted, and then disastrous weather such as typhoon and rainstorm can be predicted.

Route indication

Radar also plays an important role in traffic management. For example, the traffic management department can use radar to detect the speed and flow of vehicles on the road.