{"id":37511,"date":"2023-10-31T17:44:00","date_gmt":"2023-10-31T21:44:00","guid":{"rendered":"https:\/\/studentwork.prattsi.org\/infovis\/?p=37511"},"modified":"2023-10-31T18:43:29","modified_gmt":"2023-10-31T22:43:29","slug":"which-are-the-highest-produced-crops-of-india","status":"publish","type":"post","link":"https:\/\/studentwork.prattsi.org\/infovis\/visualization\/which-are-the-highest-produced-crops-of-india\/","title":{"rendered":"Which are the highest produced crops of India?"},"content":{"rendered":"\n<h2 class=\"has-dark-red-color has-text-color wp-block-heading\">Introduction<\/h2>\n\n\n\n<p>I have come across the data which revolves around agriculture sector in India. As India is primarily involved in Agriculture, I thought it would be interesting to study the data across this sector.<\/p>\n\n\n\n<p>The set of questions I had when I was going through the data was,<\/p>\n\n\n\n<p class=\"has-medium-gray-color has-text-color\"><strong>1. Which States in India are contributing maximum in agricultural production?<\/strong><\/p>\n\n\n\n<p class=\"has-medium-gray-color has-text-color\"><strong>2. What are the top 5 highest yields in India and why those contribute more ?<\/strong><\/p>\n\n\n\n<p>this arise another sub question of studying crop conditions of high yield crops in India so that we can understand which agricultural trends or conditions benefit maximum and continue doing that and start to work on those parameters in other subsequent States as well.<\/p>\n\n\n\n<h2 class=\"has-dark-red-color has-text-color wp-block-heading\">Dataset<\/h2>\n\n\n\n<p>For this data visualization, I gathered raw data from<a rel=\"noreferrer noopener\" href=\"https:\/\/www.kaggle.com\/\" target=\"_blank\">\u00a0Kaggle<\/a>\u00a0in the CSV file format. The dataset was named as\u00a0<em><strong>\u201cProduction about India\u201d<\/strong><\/em>\u00a0The data has years as time factor. The readings given were of production of various crops in all different states and union territories across India. It was further breakdown in crop type as well. The original data had 13 different columns of quantitative as well as qualitative data and 99850 observation rows. I further imported that data in <a href=\"https:\/\/www.r-project.org\/\" data-type=\"URL\" data-id=\"https:\/\/www.r-project.org\/\">R Software for Data Visualization<\/a> work on the visualization.<\/p>\n\n\n\n<h2 class=\"has-dark-red-color has-text-color wp-block-heading\">Process<\/h2>\n\n\n\n<p>I started to understand R, as that was the platform I have chosen to work on with my Data. Once I understood the basics of R, I worked on the data to create various subsets of data by using filter, select codes as well as by using pipes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"538\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/1.jpg?resize=840%2C538&#038;ssl=1\" alt=\"\" class=\"wp-image-37534\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/1.jpg?w=878&amp;ssl=1 878w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/1.jpg?resize=300%2C192&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/1.jpg?resize=768%2C492&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/1.jpg?resize=800%2C512&amp;ssl=1 800w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/1.jpg?resize=281%2C180&amp;ssl=1 281w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><figcaption class=\"wp-element-caption\">Data filter to create subsets in R<\/figcaption><\/figure>\n\n\n\n<p>Once this filtering was done, I proceed to create graphs\/diagrams to understand various agricultural trends in India across different states. I used ggplot to create all my graphs, various alterations in terms of size, color, diagram type, labeling was done through it.  <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"590\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/2-1024x719.jpg?resize=840%2C590&#038;ssl=1\" alt=\"\" class=\"wp-image-37535\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/2.jpg?resize=1024%2C719&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/2.jpg?resize=300%2C211&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/2.jpg?resize=768%2C539&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/2.jpg?resize=800%2C561&amp;ssl=1 800w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/2.jpg?resize=257%2C180&amp;ssl=1 257w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/2.jpg?w=1036&amp;ssl=1 1036w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><figcaption class=\"wp-element-caption\">Coding in R to create various Graphs<\/figcaption><\/figure>\n\n\n\n<p>Through this process, I was trying to concentrate on the various parameters to consider but my peers gave me suggestions to work on presentation aspect as well, that&#8217;s when I tried to play with size and color of the elements.  <\/p>\n\n\n\n<h2 class=\"has-dark-red-color has-text-color wp-block-heading\">Result<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">As I started analyzing the data, I opted to start with state wise data. I wanted to first understand, which states perform better in terms of agricultural and then what is crop that they yield the most. Moving ahead, I wanted to understand the crop condition of Highest yield crop so that in totally we can understand which Crop type, Conditions and which states are profitable when it comes to agricultural. Once we understand and present this study, It will be easier to farmers in India to work on those aspects to have good yield.<\/p>\n\n\n\n<p>The following graph shows various crop yields across India. We can clearly see that Rice is the highest yield crop in India, followed by wheat, potato, cotton and bananas.  <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"560\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/all-state-wise-production.jpeg?resize=840%2C560&#038;ssl=1\" alt=\"\" class=\"wp-image-37520\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/all-state-wise-production.jpeg?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/all-state-wise-production.jpeg?resize=300%2C200&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/all-state-wise-production.jpeg?resize=1024%2C683&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/all-state-wise-production.jpeg?resize=768%2C512&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/all-state-wise-production.jpeg?resize=800%2C533&amp;ssl=1 800w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/all-state-wise-production.jpeg?resize=270%2C180&amp;ssl=1 270w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><figcaption class=\"wp-element-caption\">Analyzing State wise production in various states of India<\/figcaption><\/figure>\n\n\n\n<p>The following graph represents the Production in tons (all crops combined) in individual states.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"308\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Production-1.jpeg?resize=840%2C308&#038;ssl=1\" alt=\"\" class=\"wp-image-37518\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Production-1.jpeg?w=1500&amp;ssl=1 1500w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Production-1.jpeg?resize=300%2C110&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Production-1.jpeg?resize=1024%2C375&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Production-1.jpeg?resize=768%2C282&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Production-1.jpeg?resize=800%2C293&amp;ssl=1 800w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Production-1.jpeg?resize=400%2C147&amp;ssl=1 400w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><figcaption class=\"wp-element-caption\">Production of Crops across various states in India<\/figcaption><\/figure>\n\n\n\n<p>The following graph represents the agricultural land area in individual states. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"308\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/area-1.jpeg?resize=840%2C308&#038;ssl=1\" alt=\"\" class=\"wp-image-37519\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/area-1.jpeg?w=1500&amp;ssl=1 1500w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/area-1.jpeg?resize=300%2C110&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/area-1.jpeg?resize=1024%2C375&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/area-1.jpeg?resize=768%2C282&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/area-1.jpeg?resize=800%2C293&amp;ssl=1 800w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/area-1.jpeg?resize=400%2C147&amp;ssl=1 400w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><figcaption class=\"wp-element-caption\">Area of Agricultural Land across various states in India<\/figcaption><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Finally, tried to combine both the diagrams in one graph using facet wraps. The following visualization shows area under agricultural and production in tons. The states which seems leading in agricultural have lesser land area but highest production. Panjab becomes the highest producing state and Gujrat, Haryana and west Bengal are subsequent in line. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"700\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Production-vs-land-final.jpeg?resize=840%2C700&#038;ssl=1\" alt=\"\" class=\"wp-image-37517\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Production-vs-land-final.jpeg?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Production-vs-land-final.jpeg?resize=300%2C250&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Production-vs-land-final.jpeg?resize=1024%2C853&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Production-vs-land-final.jpeg?resize=768%2C640&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Production-vs-land-final.jpeg?resize=800%2C667&amp;ssl=1 800w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Production-vs-land-final.jpeg?resize=216%2C180&amp;ssl=1 216w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><figcaption class=\"wp-element-caption\">Analyzing area of agricultural land vs production across various states<\/figcaption><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">As Rice is the highest cultivated crop in India further analyzing the crop would give clear insights. For the same I have prepared a point geometry to understand the Average Temperature and Rainfall across various states. The dots are color coded according to temperature and sized according to average rainfall of each state.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"560\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Rice-crop-conditions.jpeg?resize=840%2C560&#038;ssl=1\" alt=\"\" class=\"wp-image-37521\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Rice-crop-conditions.jpeg?w=1500&amp;ssl=1 1500w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Rice-crop-conditions.jpeg?resize=300%2C200&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Rice-crop-conditions.jpeg?resize=1024%2C683&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Rice-crop-conditions.jpeg?resize=768%2C512&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Rice-crop-conditions.jpeg?resize=800%2C533&amp;ssl=1 800w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/Rice-crop-conditions.jpeg?resize=270%2C180&amp;ssl=1 270w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><figcaption class=\"wp-element-caption\">Conditions for Rice crop cultivation across various states in India<\/figcaption><\/figure>\n\n\n\n<p>The Rice cultivation is conditions are favorable in Sikkim, Arunachal Pradesh, Goa and Andaman and Nicobar Islands. <\/p>\n\n\n\n<h2 class=\"has-dark-red-color has-text-color wp-block-heading\">Reflections<\/h2>\n\n\n\n<p>I think the overall learning of R and data visualization worked well for this particular project. More experimentation in terms of presentation such as colors, customizing certain details etc. would have elevated the entire visualization.<\/p>\n\n\n\n<h2 class=\"has-dark-red-color has-text-color wp-block-heading\">References<\/h2>\n\n\n\n<p>\u201cKaggle: Your Machine Learning and Data Science Community.\u201d Accessed October 3, 2023.\u00a0<a href=\"https:\/\/www.kaggle.com\/datasets\/imdevskp\/cholera-dataset\">https:\/\/www.kaggle.com\/datasets\/imdevskp\/cholera-dataset<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction I have come across the data which revolves around agriculture sector in India. As India is primarily involved in Agriculture, I thought it would be interesting to study the data across this sector. The set of questions I had when I was going through the data was, 1. Which States in India are contributing&hellip;<\/p>\n","protected":false},"author":4124,"featured_media":37516,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[115,5,94],"coauthors":[1872],"class_list":["post-37511","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visualization","tag-data-visualization","tag-information-visualization","tag-visualization"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2023\/10\/55926a94-45e0-4270-beb3-a678e6e21124.png?fit=986%2C560&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paBdcV-9L1","_links":{"self":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/37511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/users\/4124"}],"replies":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/comments?post=37511"}],"version-history":[{"count":6,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/37511\/revisions"}],"predecessor-version":[{"id":37540,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/37511\/revisions\/37540"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media\/37516"}],"wp:attachment":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media?parent=37511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/categories?post=37511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/tags?post=37511"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/coauthors?post=37511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}