Text this: The risk index for an SIR epidemic model and spatial spreading of the infectious disease