in microcosm

in ˈmicrocosm

on a small scale: The developments in this town represent in microcosm what is happening in the country as a whole.