Where/how are metals distributed in our universe? For one particular kind of element, what is the distribution in the whole universe?

Are most of the metals located in ISM, IGM, or stars? Maybe different metals have different distributions?
For example, could most of the Mg be found in white dwarfs?
Have all the natural elements have been found in stars?
From the big bang nucleosynthesis (BBN) page is a handy chart of the sources of elements:



Since basically all metals come from some stellar process, the question of elemental distribution can vary greatly between different environments depending on when you're observing that particular galaxy, star/galaxy cluster, etc. Galaxy mergers, supernova, and stellar winds can be particularly good at moving metals around a galaxy or galaxy cluster.

Interestingly Wolfram has element data with Universe abundances but I'm not sure where they derive those.