Diagram often accompanied by a photo (5)
I believe the answer is:
graph
'diagram' is the definition.
(I know that graph is a kind of diagram)
I don't understand how the remainder of the clue works.
Can you help me to learn more?
(Other definitions for graph that I've seen before include "Plotted diagram" , "Diagram showing relationships between things" , "Drawing showing relationship between quantities" , "A plotted chart" , "Geometrical diagram" .)