India is an agriculture-based country, with paddy being the main crop cultivated on nearly half of its agricultural lands. Paddy cultivation faces numerous challenges, particularly diseases that affect crop growth and yield. Adult paddy crops are especially vulnerable to diseases caused by various factors, such as the green rice leafhopper, rice leaf folder, and brown plant leafhopper. These insects inflict damage on the paddy crops, restricting their growth and leading to significant losses. This research paper investigates the impact of environmental factors on disease spread in paddy crops, using the X-Step Algorithm for analysis. The study aims to better understand the role of environmental conditions, including air, water, and soil quality, in the development and progression of diseases in rice crops. This knowledge will help to optimize disease prevention and management strategies for improved crop yields and food security. The X-Step Algorithm, a novel machine learning algorithm, was employed to model and predict disease spread, taking into account various environmental factors. The proposed algorithm analyses images of paddy crops either manually captured or taken by sensors to evaluate disease spread and growth in paddy crops. This data-driven approach allows for more accurate and timely predictions, enabling farmers and agricultural experts to implement appropriate interventions.