Every country's world map has lines drawn differently from the next. But that's just international politics. Now imagine these lines redrawn according to the size of the country's population. That's exactly what Redditor TeaDranksdid.
The map lacks accuracy thanks to stretching along pixels to maintain existing boundaries. Which explains why Nepal sits on India's head. But it obviously doesn't explain why Nepal and Pakistan share a border now. Oh well.