normal mild steel yellow sparks quite bright and lots off them
carbon steel the sparks sort of explode in starbursts like a sparkler firework
cast iron fewer sparks not very bright tend to be more orange and quite sparkly like above
You need to get something known and observe as a comparison test when you start learning this.
Remember it's just an educated guess not an exact alloy test.