Skip to content

feat: implement weather and AQI correlation analytics engine with hea… - #1127

Open
MILAN-123865 wants to merge 2 commits into
Aditya8369:mainfrom
MILAN-123865:feat/weather-aqi-analytics-1092
Open

feat: implement weather and AQI correlation analytics engine with hea…#1127
MILAN-123865 wants to merge 2 commits into
Aditya8369:mainfrom
MILAN-123865:feat/weather-aqi-analytics-1092

Conversation

@MILAN-123865

Copy link
Copy Markdown
Contributor

…tmap matrix and charts

Pull Request

Description

Please provide a brief summary of your changes.


Related Issue

Closes #


Type of Change

  • Bug Fix
  • New Feature
  • Documentation
  • UI/UX Improvement
  • Refactoring
  • Performance Improvement
  • Accessibility

Changes Made


Testing

  • Tested locally
  • No console errors
  • Existing functionality works as expected

Screenshots

If applicable, attach screenshots or screen recordings.


Checklist

  • My code follows the project guidelines.
  • I have tested my changes.
  • I have updated the documentation if required.
  • My changes address the related issue.
  • This PR focuses on a single issue.

Additional Notes

Add any additional information for reviewers here.

Description

This PR addresses environmental correlation reporting requirements by establishing a comprehensive Weather and Air Quality Correlation Analytics Subsystem. The module maps relationships across varying metric sets (Temperature, Humidity, Wind speed) against core AQI targets (PM2.5, PM10, NO₂, O₃, CO) to supply automated trend calculation matrices.

Changes

  • src/utils/analytics.ts: Authored mathematical Pearson calculation frameworks alongside categorical index grading interpreters.
  • src/components/Analytics/CorrelationAnalytics.tsx: Constructed a telemetry dashboard using SWR data caching structures and dynamic switching Recharts layout templates (Scatter Grid / Dual-Axis Timelines).
  • Performance Optimization: Configured isolated React.memo wrapping boundary rules on heavy inner loop HeatmapCell objects to prevent sub-grid render stuttering.
  • i18next & Styling Compliance: Layered multi-language template mapping tags across all text labels while bounding layout shapes inside local scoped CSS Modules.

Verification Results

  • Verified correct cell mapping and heat colors under simulated positive/negative dataset conditions.
  • Confirmed error boundary triggers handle API collection latency drops smoothly.

Closes #1092

@vercel

vercel Bot commented Aug 29, 2026

Copy link
Copy Markdown

@MILAN-123865 is attempting to deploy a commit to the Aditya Mahajan's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added the ECSoC26 Contributions considered under ECSoC'26 label Aug 29, 2026
@github-actions

Copy link
Copy Markdown

Thank You for Your Contribution! 🎉

Hi @MILAN-123865,

Thank you for opening this Pull Request and contributing to our project. We truly appreciate your efforts.

Please make sure that:

  • Your code follows the project's guidelines.
  • You have linked the appropriate issue (if applicable).
  • Screenshots are added for UI/UX changes.
  • Your PR is ready for review.

The maintainer @Aditya8369 will review your PR shortly!

Happy Contributing! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ECSoC26 Contributions considered under ECSoC'26

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Weather and Air Quality Correlation Analytics

1 participant