categorical_cols = ['Parental_Involvement', 'Access_to_Resources', 'Motivation_Level', 'Internet_Access', 'Family_Income',
'Teacher_Quality', 'School_Type', 'Peer_Influence', 'Learning_Disabilities', 'Parental_Education_Level', 'Distance_from_Home',
'Gender']
for col in categorical_cols:
fig = px.box(df_clean, x=col, y='Exam_Score', title=f'{col} vs Exam_Score')
fig.show()
# Correlation Matrix
corr = df_clean[numeric_cols].corr()
fig = px.imshow(corr, text_auto=".2f", color_continuous_scale='RdBu_r', title="Correlation Matrix")
fig.show()