Steroidal glycoalkaloids (SGAs) are secondary metabolites that are closely associated with the sensory and processing qualities of potato tubers. GGE biplots are a widely used tool for analyzing crop breeding analysis. This study aimed to investigate the effect of light on SGA biosynthesis by employing GGE biplots to analyze the transcriptional gene expression of seven genes involved in the SGA biosynthesis pathway. Tubers of five different potato genotypes were incubated for 6, 12, and 24 h under red light. The expression levels of the seven genes were measured using qRT-PCR for analysis. Further analysis of the data was performed using GGE biplots. Our results indicated significantly higher expression levels for Pvs1, Sgt1, and Sgt3 genes than those of the remaining tested genes. Across the three red light illumination durations, Sgt3 showed high and stable expression, although it showed less stability across the different genotypes. Interestingly, the expression patterns of the seven genes were extremely similar for the 12 h and 24 h treatments. It was found that at least 6 h of red light illumination was required for optimal gene expression in all five genotypes, particularly in the genotype Zhuangshu-3 (DXY) after 24 h of treatment. Additionally, significant expression of the seven genes was observed in the L-6 genotype after 12 and 6 h of red light illumination. These results highlight that GGE biplots are an appropriate tool for analyzing and illustrating the differential expression profiles of the seven key genes involved in SGA biosynthesis in potato tubers. This study provides valuable insights into the biosynthesis and metabolism of SGAs in potatoes. Moreover, it demonstrates the potential application of GGE biplots in crop breeding and other research fields.