Tracking the evolution from isolated dimers to many-body entanglement in NaLuxYb1