plot given json points