Using ggplot, my graph displays the axis, but it is a blank graph with no lines on it. Why is that so?

It's hard to know without knowing what the data looks like. It would help if you could share a reprex.

One possibility though: are you sure K-C should be in quotes? Were you trying to use a backquote ` ? Try replacing with:

p <- ggplot(kcon_yr, aes(x = fisc_yr, y = `K-C`, col = Weightage)) +