The code for displaying my example graph