https://github.com/c0np4nn4/hostingtest
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.7%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: c0np4nn4
- Language: JavaScript
- Default Branch: main
- Size: 28.5 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Air Quality Monitoring Dashboard
201824590 조승현
Demo
https://github.com/user-attachments/assets/ea64c0c5-a7a3-4070-b86c-2bbc427eb21e
Screenshots
Overview
The Air Quality Monitoring Dashboard is a web-based application that allows users to monitor real-time air quality and visualize weather data for different cities. Users can search by city name, view temperature, humidity, and pollution levels, and see a visual representation of the data using various charts.
The dashboard features: - Real-time monitoring of air quality, temperature, and humidity data. - Air quality assessment with visual indicators (color coding and emojis). - A chart-based visualization for temperature, humidity, and air pollutant data.
The application leverages OpenWeather API for data retrieval, Chart.js for data visualization, and Bootstrap for styling.
Key Features
- Real-time Air Quality Data: View up-to-date information on pollutants like PM2.5, PM10, NOx, SO2, NH3, CO, and NO levels.
- Weather Metrics: Temperature and humidity data presented in a clear, user-friendly way.
- Air Quality Status: Color-coded indicators and emoji-based feedback on air quality ranging from good to unhealthy.
- Data Visualization: Interactive line and bar charts displaying trends in temperature, humidity, and pollutant levels.
Libraries and Tools Used
- Bootstrap 5 - For responsive styling and layout.
- Chart.js - For creating dynamic charts to visualize temperature, humidity, and pollutant data.
- jQuery - To manage DOM manipulation and handle API requests.
- Moment.js - For date formatting.
- PapaParse - For parsing CSV files to provide custom data.
- OpenWeather API - To fetch real-time weather and pollution data.
How to Run the Application
Prerequisites
- You need a web browser to run this dashboard.
- Make sure you have a valid OpenWeather API Key.
Setting Up the Project
Clone the Repository: Clone the GitHub repository to your local machine.
sh git clone <repository-url> cd air-quality-monitoring-dashboardAPI Key Setup: Add your OpenWeather API key to
utils/constants.js. The API key is not included in the repository for security reasons and is gitignored.js // utils/constants.js const API_KEY = 'your_openweather_api_key_here';Open in Browser: Simply open
index.htmlin your preferred browser.
Folder Structure
index.html: Main HTML file for the Air Quality Monitoring Dashboard.css/styles.css: Custom styling for the dashboard.utils/constants.js: Contains API keys and constants used across the project.utils/dataSimulation.js: Handles air quality and weather data fetching and manipulation.utils/chartSimulation.js: Handles data visualization and chart rendering.utils/navigation.js: Manages page navigation between sections.
Simulation Process
The Air Quality Monitoring Dashboard allows users to either manually input a city or upload a CSV file for bulk data processing.
How It Works
- City Data Input: The user can type in a city name to fetch real-time data for temperature, humidity, and pollution.
- API Calls:
- Weather Data: The dashboard uses the OpenWeather API to get the temperature and humidity values.
- Air Pollution Data: Air pollutant levels are fetched using OpenWeather's Air Pollution API.
- Color Coding and Emoji Display:
- The air quality status is dynamically displayed next to the current city name, with emojis representing different air quality levels:
- 😊 (Good): Green color, PM2.5, PM10, NO2, SO2, CO, NH3, and NO levels are in acceptable ranges.
- 😐 (Moderate): Orange color, moderate levels of some pollutants.
- ☹️ (Unhealthy for Sensitive Groups): Yellow color, elevated pollutant levels that might affect sensitive groups.
- 😷 (Unhealthy): Red color, high levels of multiple pollutants.
- The air quality status is dynamically displayed next to the current city name, with emojis representing different air quality levels:
- Charts and Graphs: The visual representation section provides a graphical view of historical weather and pollution trends.
- Temperature Chart: Shows temperature trends over the past 30 time periods.
- Humidity Chart: Displays the humidity trend.
- Pollutant Chart: A bar chart showcasing pollutant levels (PM2.5, PM10, NOx, NH3, CO, SO2, etc.) over time.
How to Use the Dashboard
- Search for a City: Use the input field at the top of the dashboard to type in a city name and click "Get Data". The current temperature, humidity, and pollutant levels will be displayed.
- Air Quality Status: The air quality will be assessed and color-coded with an emoji. This information will be displayed next to the current city name.
- Visualize Data: Click the "Visualize" tab to see graphical representations of the weather and air quality data.
- Upload CSV File: Users can upload a CSV file to simulate data input. The parsed data will be visualized in the charts.
Troubleshooting
- API Key Issues: Make sure the OpenWeather API key is valid. The
constants.jsfile must be correctly configured. - Data Not Displaying: Double-check if the API key is properly entered, and that there's no CORS or network error.
Owner
- Name: c0np4nn4
- Login: c0np4nn4
- Kind: user
- Website: c0np4nn4.github.io
- Repositories: 1
- Profile: https://github.com/c0np4nn4
GitHub Events
Total
- Push event: 2
- Create event: 2
Last Year
- Push event: 2
- Create event: 2
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0