yield is a Javascript constructed used to pause and resume a generator function*. It’s described in the context of Observable in their Introduction to Generators notebook. It’s used in the Particle Sankey notebook to allow the generator cell to run repeatedly to yield the animation.