This project analyzes coffee production and price trends across different countries using Python. The analysis includes data visualization of production volumes and price changes over time, focusing on major coffee-producing countries like Brazil and Colombia.
- Time series analysis of coffee production trends
- Price trend analysis across different countries
- Data cleaning and preprocessing
- Interactive visualizations using Matplotlib and Seaborn
- Python 3.x
- NumPy: For numerical computations and array operations
- Pandas: For data manipulation and analysis
- Matplotlib: For basic data visualization
- Seaborn: For enhanced statistical visualizations
The project uses a CSV file (coffee_production.csv
) containing the following columns:
year
: Production yearcountry
: Coffee producing countryproduction
: Coffee production volumeprice
: Coffee price
- Converting year to datetime format
- Converting production and price columns to numeric format
- Grouping data by year and country for aggregate analysis
-
Production Trends
- Line plot showing production volumes over time
- Color-coded by country
- Interactive visualization with legend
-
Price Analysis
- Time series visualization of coffee prices
- Country-wise price comparison
- Trend analysis across years
- Add more countries to the analysis
- Implement statistical tests for trend analysis
- Add seasonal analysis
- Include weather data correlation
- Export capabilities for processed data