This project is a web application built with React and Mantine that processes and displays crop data. It calculates and presents the crop with the maximum and minimum production for each year and the average yield and cultivation area of crops from 1950 to 2020.
-
Clone the repository:
git clone https://github.com/your-username/Manufac_Analytics.git cd agriculture-analytics
-
Install dependencies:
npm install
-
Start the development server:
yarn start
The application will be available at http://localhost:3000.
Once the application is running, it will fetch data from crops.json
, process it, and display two tables:
Yearly Crop Data Table: Shows the crop with the maximum and minimum production for each year.
Average Crop Data Table: Shows the average yield and cultivation area of crops from 1950 to 2020.
![Screenshot 2024-06-22 at 11 49 45 PM](https://private-user-images.githubusercontent.com/90498262/341990305-7218b4ec-b51f-40d9-9c07-70dc60b9bc51.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzMjI1NzMsIm5iZiI6MTcyMTMyMjI3MywicGF0aCI6Ii85MDQ5ODI2Mi8zNDE5OTAzMDUtNzIxOGI0ZWMtYjUxZi00MGQ5LTljMDctNzBkYzYwYjliYzUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE4VDE3MDQzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg4Y2M5NjM1MDM1Y2FhMjA3MjllYjg1YTY1ZTcyY2EwMzA5OGNmYmFmZjM3ODY4NzFhY2I4ZWNlYmFhOGNkNTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.QMxXQZf4wNgdpLPt8jMxMP14TngJ5NTwRJF9NMw-jY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