vs
QUICK ANSWER
"Gráfica" is a form of "gráfica", a noun which is often translated as "graph". "Diagrama" is a form of "diagrama", a noun which is often translated as "diagram". Learn more about the difference between "gráfica" and "diagrama" below.
la gráfica()
A feminine noun is almost always used with feminine articles and adjectives (e.g., la mujer bonita, la luna llena).
1. (general)
el diagrama()
A masculine noun is used with masculine articles and adjectives (e.g., el hombre guapo, el sol amarillo).