

Here is the most normal national flag.
Here is how I did it:
1) I looked at the colours of the flags (not the symbols, only the "backgrounds")
🟥Red: 142
⬜White: 106
🟦Blue: 100
🇧🇷Green: 83
🟨Yellow: 66
👨🏿❤️👨🏿Black: 37
🍊Orange: 9
2) Number of colours (just background)
🇨🇳1 colour: 22
🇦🇹2 colours: 60
🇫🇷3 colours: 94
🇵🇸4 colours: 21
🇨🇫5 colours: 7
🇿🇦6 colours: 1
So the majority has 3 colours.
Those colours will be Red, White and Blue.
3) Organisation of the flag
🇵🇸 Horizontal: 95
🇻🇦 Vertical: 31
🇨🇳 Uniform: 25
🇵🇸 Left triangle: 17
🇵🇼 Round: 14
🇨🇬 Diagonal: 13
🇯🇲 Cross: 12
🇱🇷 Many strips of two colours: 9
🇬🇩 Other:17
Horizontal highly wins.
Note: 1 flag can be in various categories, that explains why uniform flags are more numerous than 1 coloured flags.
4) Order of the stripes.
I looked at the order of apparition of red, blue and white colours on tricoloured flags (verticals and horizontals).
🟥Red:
22 times 1st place
5 times 2nd
31 times 3rd
Most of the time, when red appears in a tricoloured flag, it is in 3rd position.
🟦Blue:
17 times 1st
7 times 2nd
12 times 3rd
Blue tends to be 1st
⬜White:
6 times 1st
34 times 2nd
2 times 3rd
White tends to be 2nd
Perfect!
So the order is blue, white, red.
Now let's look at the symbols.
5) Occurrences of symbols:
⭐Stars: 67
🚫None: 65
🧥Coats of arms: 31
🌙Moons: 15
🐬 Animal: 11
🇬🇧 An other flag: 10
🔪others: 17
Surprise! More "stars" than "none"! The flag will be stellar
So let's dive into the stars:
6) Position of the Stars:
Left: 31 (Including the majority (18) on top left)
Center: 22
Other: 13
The star will be top left
7) Number and shapes
The relative but clear majority of the stellar flags has 1 star.
The clear majority of stars has 5 branches.
8) Colours of the star.
27 flags have white stars 🐻❄️
14 yellow ✨
11 red ♥️
7 other 🇸🇹
The star will be white
So, the final flag has three stripes, horizontal, with blue at the top, white at the centre and red at the bottom, and a white star at the top left.