In this project, we are looking at some disciplinary data from a middle school.

I use the "igraph" in R package to visualize the disciplinary relationships between teachers and students as a network.

The graph shows according to the number of times a particular teacher has sent a particular student to the pinciple, the color stands for gender.

Next, create a graph that sizes the student vertices in terms of the number of disciplinary actions they have recieved, and the teachers in terms of the number of disciplinary actions they have given out.