Making a custom graph