LeetMetric is a simple and responsive web app that visualizes LeetCode user statistics. Enter any LeetCode username to view progress by difficulty level and total submission stats.
- ✅ Search by LeetCode username
- 📊 Visual progress indicators using circular graphs
- 📈 Displays number of submissions per difficulty
- 🟠 Uses a CORS proxy (https://cors-anywhere.herokuapp.com/) to bypass cross-origin restrictions
- 💡 Clean and responsive UI with dark mode styling
- HTML5, CSS3, JavaScript (Vanilla)
- LeetCode GraphQL API
- CORS Anywhere Proxy
- User Input: Enter your LeetCode username.
- Fetch Data: A GraphQL query is sent via a CORS proxy to LeetCode's API.
- Parse & Display:
- Solved problems vs total for each difficulty
- Number of submissions displayed in styled cards
- Visual Progress: Circles with conic gradients show completion percentage for Easy, Medium, and Hard problems.
Due to CORS restrictions, you need to enable a proxy:
- Open this URL and click "Request temporary access": (https://cors-anywhere.herokuapp.com/)
### Run Locally
1. Clone the repo:
```bash
git clone https://github.com/AbhaySharma3666/LeetMetric.git
cd leetmetric
- Open (index.html) in your browser.
⚠️ Make sure to enable the proxy before using the app.

