In this Unreal Engine 5 Niagara tutorial, you will learn how to use the Calculate Particle Radius dynamic input to drive particle properties like color and intensity based on particle size.
https://dev.epicgames.com/community/learning/tutorials/BbovO/unreal-engine-ue5-niagara-tutorial-how-to-calculate-dynamic-particle-radius