How to make graph?