A diagram is a schematic plan or drawing designed to explain how something works or to clarify the relationship between the parts of a whole.