The 2018 FIFA World Cup officially kicks off in Russia on June 14, 2018. It has been 88 years since 1930. The quadrennial tournament has never been interrupted except in 1942 and 1946, when it was not held due to the influence of World War II.

Key points:

Data source: Sina Sports

Visualization tools :Pyecharts+Tableau

1. The teams

We first counted the countries and times of the teams participating in the World Cup since 1930, and drew a map of the distribution of the countries of the teams participating in the World Cup. The more red the color is, the more blue the color is, the less the number of matches. The countries in the blank area did not qualify for the World Cup finals.


  • As can be seen from the graph, soccer powers are mainly concentrated in Western Europe and South America. Needless to say, Brazil is not too big a country, but the United Kingdom can send four teams of England, Scotland, Wales and Northern Ireland to participate in the competition at the same time, and can achieve good results, it can be said that is not not strong
  • Russia and North America, although not many countries, but the number of teams are also many;
  • The picture is less rosy in Asia and Africa, which would have been largely empty had China not qualified for one World Cup in 2002.
Attr = countriesValue = timesmap.add(" ", attr, value, maptype="world ", visual_range=[0, 20], is_label_show=False,is_visualmap=True, visual_text_color='#000', is_map_symbol_show=False)Copy the code

Countries where a team has qualified for the World Cup finals

Times: The number of times each national team has qualified for the World Cup finals

The teacher of Kings


X — X-axis data, representing the team name

Y — Y-axis data, number of times code wins

Bar = bar (' ',title_pos="center ")x = list(winner_dict.keys())y = list(winner_dict.values())bar. Add (' championship ', x, y,is_more_utils=True, is_label_show=True, label_text_color='#000', label_text_size=15, bar_category_gap=40)Copy the code

Normally, the World Cup is held once every four years. Although it has lasted for a long time, it is only the 21st session at present. At the same time, the World Cup, as the world’s highest honor, highest specifications, highest competitive level, the highest visibility of the football competition, its influence is self-evident.

Each World Cup champion can be said to lead an era, Brazil, Germany, Italy three teams won the World Cup championship for many times, in the long history of the World Cup dominated for more than 20 years, “the king of the division” title worthy.

3. Hot teams

Now let’s take a look at some of this year’s favorites — Brazil, Germany, Argentina, Spain and France. We analyze from six dimensions: wins, draws and losses, points, goals and goals conceded


  • As can be seen from the graph, Germany’s wins, points and goals are slightly higher than those of Brazil, which ranks second, but the number of goals conceded and losses are also very high. It seems that Germany is an attacking team
  • Brazil team is relatively attack and defense both;
  • And then there’s The fan base of Argentina, which has a history of being average among the five teams;
  • Spain, predicted to be the dark horse of this World Cup, has a relatively unremarkable history. To be clear, this analysis is a review of historical data, not a prediction.
Radar.config (c_schema=c_schema, shape='polygon', radar_text_size=14)radar.add(" Rio ", value_bx)radar.add(" Germany ", Value_dg, Item_color ="#473C8B ")radar.add(" Arue ", value_agt, Item_color ="#48D1CC ")radar.add(" Arue ", value_xby, Item_color ="#DAA520 ")radar.add(" France ", value_fg, Item_color ="#43CD80 ")Copy the code

Legendary shooter

How valuable is a goal in a World Cup match? Just look at the historical statistics. In 80 years of World Cup history, only 7 people in the world have scored 10 or more goals.

In terms of players, Klose scored 16 goals, followed by Alien Ronaldo with 15, followed by Gad, Fontaine and pele.


From the total number of goals, The number of Germany is the largest, with 61 goals, followed by Brazil, looked at the German team talent ah.


5. Head coaches

After looking at the players, let’s look at the manager. People always pay more attention to the stars, but the manager as the director of the team, its importance is self-evident. With the same team, the manager can make or break a player.


— Mario Zagallo, the first World Cup legend to win both as a player and coach, has worked in football for 50 years and is considered by many to be the greatest contributor to Brazil’s five world Cups.

This article is just a brief review of historical World Cup data for Python enthusiasts looking at the World Cup from a technical point of view. While drinking some beer, eating some lobster, watching the World Cup is also a kind of enjoyment, which team do you think will win this time, welcome to leave a message exchange! Between you and me, I prefer Argentina!