making graph