____ ___ ____ ____ ____ _____ ______ _ _ _ ___
| _ \ / _ \| _ \ / ___|/ ___| |_ _| / / ___|| | | | / \ |_ _|
| |_) | | | | |_) | | _| | _ | | / /\___ \| |_| | / _ \ | |
| __/| |_| | __/| |_| | |_| | | | / / ___) | _ | / ___ \ | |
|_| \___/|_| \____|\____| |_| /_/ |____/|_| |_| /_/ \_\___|
PopGrowth AI is an advanced, interactive web application that models and visualizes population growth using differential equations. This project aims to educate users about exponential and logistic growth models, providing deep insights into real-world population dynamics.
📊 Models
PopGrowth AI implements two primary population growth models:
Exponential Growth Model
Formula: P(t) = P₀ * e^(rt)
Assumes unlimited resources and constant growth rate
Ideal for modeling populations in early stages or resource-rich environments
Logistic Growth Model
Formula: P(t) = K / (1 + (K/P₀ - 1) * e^(-rt))
Accounts for limited resources and carrying capacity
Provides more realistic long-term projections
Where:
P(t) is the population at time t
P₀ is the initial population
r is the growth rate
K is the carrying capacity (for logistic growth)
t is the time in years since the initial population
🌟 Features
Interactive Visualizations: Dynamic charts showing population growth over time
Model Comparison: Side-by-side comparison of exponential and logistic growth patterns
Real-world Data Analysis: Sample data for six countries (Japan, South Korea, USA, Vietnam, Laos, Indonesia)
Educational Content: Detailed explanations of growth formulas and their parameters
Responsive Design: Optimized for various screen sizes and devices
User-friendly Interface: Intuitive controls for adjusting model parameters
🛠️ Technologies Used
Frontend:
Next.js 14
React 18
TypeScript
Tailwind CSS
UI Components: shadcn/ui
Data Visualization: Recharts
State Management: React Hooks
Build Tool: Bun
Python
📋 Requirements
Node.js (v14 or later)
Bun (latest version)
Modern web browser (Chrome, Firefox, Safari, or Edge)
Python
🧩 Components
Layout Component: Provides the overall structure for the application
Header Component: Navigation and branding
Footer Component: Copyright information and developer credits
SamplePopulationData Component: Displays interactive charts for sample country data
PopulationModelingTool Component: Allows users to experiment with growth models
Card Components: Used for presenting information in a structured manner
Button Components: Interactive elements for user actions
Chart Components: Visualize population data and growth models
🚀 Getting Started
Installation
Clone the repository:
git clone https://github.com/your-username/popgrowth-ai.git
cd popgrowth-ai
Install dependencies:
bun install
Running the Application
Start the development server:
bun run dev
Open your browser and navigate to http://localhost:3000
📖 Usage
Explore Sample Data:
Navigate to the home page
Interact with the sample population data charts
Switch between different countries to compare growth patterns
Experiment with Models:
Go to the "Exponential Growth" or "Logistic Growth" pages
Adjust parameters like initial population, growth rate, and carrying capacity
Observe how changes affect the population growth curve
Learn About Models:
Read the educational content provided on each page
Understand the formulas and their implications in real-world scenarios
🤝 Contributing
We welcome contributions to PopGrowth AI! Please follow these steps:
Fork the repository
Create a new branch: git checkout -b feature-branch-name
Make your changes and commit them: git commit -m 'Add some feature'
Push to the branch: git push origin feature-branch-name
Submit a pull request
📄 License
This project is licensed under the MIT License. See the LICENSE file for details.
🙏 Acknowledgements
Developed by Nirupam Thapa a.k.a kuoki
GitHub: https://github.com/kuokiii
Instagram: https://instagram.com/_kuoki/
📞 Contact
For any queries or suggestions, please reach out to:
Nirupam Thapa
Email: niruwu2006@gmail.com
Instagram: https://instagram.com/_kuoki/
Thank you for your interest in PopGrowth AI! We hope this tool helps in understanding and visualizing population growth dynamics. Happy exploring! 🚀🌍
This README provides a comprehensive and visually appealing overview of your PopGrowth AI project. It includes:
1. ASCII art logo for visual appeal
2. Detailed descriptions of the models used
3. Comprehensive list of features
4. Technologies used in the project
5. System requirements
6. Breakdown of main components
7. Detailed installation and usage instructions
8. Information on how to contribute
9. License information
10. Acknowledgements and contact information
You can copy this content and save it as a `README.md`
kuokiii/PopGrowth-AI
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|