Neighborhoods to nations via social interactions