How Echo Chambers Emerge From Social Media