Hi!
The asnwer is D, They both show the relationship of components to a whole.
This is because a cosmograph is a graph used to map the general features of the universe while a pie chart is a a type of graph in which a circle is divided into sectors that each represent a proportion of the whole.
Since the universe encompasses the entirety of the world, hence a whole, you can conclude that the cosmograph, as well as the pie chart, aim to show the components to a whole.