Hazard plot using survminer package

See the FAQ: How to do a minimal reproducible example reprex for beginners.

Better chance of a useful answer if reverse-engineering the problem isn't required.