{"id":11817,"date":"2018-11-29T16:21:01","date_gmt":"2018-11-29T21:21:01","guid":{"rendered":"http:\/\/studentwork.prattsi.org\/infovis\/?p=11817"},"modified":"2019-01-10T23:51:04","modified_gmt":"2019-01-11T04:51:04","slug":"visualizing-earthquakes-near-the-indian-subcontinent-from-2000-to-2018-using-carto","status":"publish","type":"post","link":"https:\/\/studentwork.prattsi.org\/infovis\/labs\/visualizing-earthquakes-near-the-indian-subcontinent-from-2000-to-2018-using-carto\/","title":{"rendered":"Visualizing Earthquakes Near The Indian Subcontinent From 2000 to 2018 Using Carto"},"content":{"rendered":"<h3 id=\"375f\" class=\"graf graf--h3 graf-after--h3\">Introduction<\/h3>\n<p class=\"p1\"><span class=\"s1\">Seventeen Years after the killer 2001 quake measuring 7.7 on Richter scale shook the northwestern state of India, a resilient Gujarat rose against all odds to limp back to life. This earthquake was the most powerful to strike India since 15 August 1950. It was also the most destructive in terms of lives lost and property damage. Research claims that the energy released was equivalent to 400 atomic bombs thrown over Nagasaki exploding 23 km below the earth&#8217;s surface. <\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">While reading more about the Gujarat Earthquake, I came across an open dataset which had data related to earthquakes in the Indian subcontinent from 2000 to 2018. In order to do a full analysis of the data set, I used Carto.<\/span><\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-11830 aligncenter\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/markus-spiske-632413-unsplash.jpg?resize=840%2C560\" alt=\"\" width=\"840\" height=\"560\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/markus-spiske-632413-unsplash.jpg?resize=1024%2C683&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/markus-spiske-632413-unsplash.jpg?resize=300%2C200&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/markus-spiske-632413-unsplash.jpg?resize=768%2C512&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/markus-spiske-632413-unsplash.jpg?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/markus-spiske-632413-unsplash.jpg?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/p>\n<p class=\"p1\"><span class=\"s1\">Some of the information that I wanted to explore from the dataset was: <\/span><\/p>\n<ol class=\"ol1\">\n<li class=\"li1\"><span class=\"s1\">Which area near the Indian subcontinent constantly had earthquakes?<\/span><\/li>\n<li class=\"li1\"><span class=\"s1\">Which area had the least amount of earthquakes in India?<\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3 class=\"p1\"><span class=\"s1\"><b>Inspiration\/Critique<\/b><\/span><\/h3>\n<p class=\"p1\"><span class=\"s1\">To come up with a good visualization, I decided to explore various Carto examples available online. It helped me in making a better and understandable visualization. Some of the examples that I liked:<\/span><\/p>\n<p class=\"p1\"><b><\/b><span class=\"s2\"><b>1. <\/b><\/span><a href=\"https:\/\/carto.com\/gallery\/oklahoma-earthquakes\/\" target=\"_blank\" rel=\"noopener\"><span class=\"s2\"><b>Oklahoma Earthquakes<\/b><\/span><\/a><\/p>\n<div id=\"attachment_11818\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11818\" class=\"wp-image-11818 size-large\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/USzgzzSu3q.gif?resize=840%2C398\" alt=\"\" width=\"840\" height=\"398\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/USzgzzSu3q.gif?resize=1024%2C485&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/USzgzzSu3q.gif?resize=300%2C142&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/USzgzzSu3q.gif?resize=768%2C364&amp;ssl=1 768w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-11818\" class=\"wp-caption-text\">Oklahoma Earthquakes Carto Visualization<\/p><\/div>\n<p class=\"p1\"><span class=\"s2\">This visualization is about the earthquakes in the Oklahoma state. This map incorporates every 2.5-magnitude or greater between Jan. 2004 and June 2014. The most interesting part of this visualization was the timeline that is no the bottom left. I think it clearly shows the year and the month.<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\"><b>2. <a href=\"https:\/\/labs.enigma.com\/sanctions-tracker\/\" target=\"_blank\" rel=\"noopener\">United States Sanctions Tracker<\/a><\/b><\/span><\/p>\n<div id=\"attachment_11820\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11820\" class=\"wp-image-11820 size-large\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-8.09.26-PM.png?resize=840%2C475\" alt=\"\" width=\"840\" height=\"475\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-8.09.26-PM.png?resize=1024%2C579&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-8.09.26-PM.png?resize=300%2C170&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-8.09.26-PM.png?resize=768%2C434&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-8.09.26-PM.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-8.09.26-PM.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-11820\" class=\"wp-caption-text\">Enigma\u2019s Sanctions Tracker<\/p><\/div>\n<p class=\"p1\"><span class=\"s2\">Enigma\u2019s<\/span><span class=\"s1\">\u00a0<span class=\"s2\">Sanctions Tracker<\/span>, which monitors U. S. sanctions from 1994 to the present and updates each day, is one of the first resources to map this data despite the inherent spatial aspect of sanctions. The tracker uses time-series analysis to show the rise in sanctions across four different presidencies, and its interactive design allows viewers to click on animated dots to learn more about the specific type of offense being sanctioned. The most amazing part of this visualization is the way it looks visually. I think the color combination makes it look very good and easy to understand.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3 class=\"p1\"><span class=\"s1\"><b>Material<\/b><\/span><\/h3>\n<ol class=\"ol1\">\n<li class=\"li1\"><span class=\"s1\"><a href=\"https:\/\/carto.com\/\" target=\"_blank\" rel=\"noopener\"><strong>Carto<\/strong><\/a> &#8211; It is a software as a service cloud computing platform that provides GIS and web mapping tools for display in a web browser.\u00a0<\/span><\/li>\n<li class=\"li1\"><span class=\"s1\"><a href=\"https:\/\/www.kaggle.com\/\" target=\"_blank\" rel=\"noopener\"><strong>Kaggle<\/strong><\/a> &#8211; It is an online community of data scientists and machine learners, owned by Google Inc.<\/span><\/li>\n<li class=\"li1\"><span class=\"s1\"><strong><a href=\"https:\/\/www.kaggle.com\/nksingh673\/earthquake-indian-subcontinent\" target=\"_blank\" rel=\"noopener\">Earthquakes in Indian Subcontinent Dataset<\/a><\/strong> &#8211; This dataset contains data on events of the earthquake in Indian Subcontinent of 18 years.<\/span><\/li>\n<li class=\"li1\"><a href=\"https:\/\/www.kaggle.com\/nksingh673\/earthquake-indian-subcontinent\" target=\"_blank\" rel=\"noopener\"><strong>Microsoft Excel<\/strong><\/a> &#8211; Microsoft Excel is a spreadsheet developed by Microsoft for Windows,<span class=\"Apple-converted-space\" style=\"font-size: 1.0625rem\">\u00a0<\/span>macOS, Android, and iOS. It features calculation, graphing tools, pivot tables, and a macro programming language called Visual Basic for Applications.<\/li>\n<li class=\"li1\"><a href=\"http:\/\/openrefine.org\/\" target=\"_blank\" rel=\"noopener\"><strong>OpenRefine<\/strong><\/a> &#8211; \u00a0A tool for working with messy data: cleaning it; transforming it from one format into another, and extending it with web services and external data.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3 class=\"p1\"><span class=\"s1\"><b>Method to Create This Visualization<\/b><\/span><\/h3>\n<p><strong><span class=\"s1\">1. Selecting the Data Set<\/span><\/strong><\/p>\n<p class=\"p1\"><span class=\"s1\">Finding the right dataset has never been an easy task for me. With so much free data online, I always get confused as to which dataset would be the best for me. This time I decided to explore a new website for datasets &#8211; Kaggle. It had a variety of datasets for Carto. After going through 10 to 15 datasets, I finally found the perfect dataset which was on earthquakes in the Indian subcontinent. It not only had the latitude and longitude but also the magnitude and the year of occurrence.<\/span><\/p>\n<p class=\"p1\"><strong><span class=\"s1\">2. Refining the Data Set<\/span><\/strong><\/p>\n<p class=\"p1\"><span class=\"s1\">After I downloaded the CSV file of the dataset, I analyzed that the magnitude column had a multiple type of measurements. In order to streamline that column, I decided to apply a filter in Excel where I could just see the \u2018mb\u2019 measurement values. I chose to move forward with just the \u2018mb\u2019 values because it was the majority among all the values. After filtering the values in Excel, I moved to OpenRefine. Here I applied a text facet to the magnitude column and found that there was a formatting issue like extra spacing with some data. After solving that spacing problem of the data, my data set was ready for the next step.<\/span><\/p>\n<p class=\"p1\"><strong><span class=\"s1\">3. Data Visualization Using Carto<\/span><\/strong><\/p>\n<p class=\"p1\"><span class=\"s1\">After refining the data set, I imported the CSV file to Carto. This was my first interaction with this software. It took me a while to get used to it and understand it\u2019s functionality. While exploring the software, I came across a couple of aggregations under styling options. This is where I decided to make two different visualizations using \u2018Points\u2019 and<span class=\"Apple-converted-space\">\u00a0 <\/span>\u2018Animated\u2019 aggregations. While I was working on the first visualization, I came across the \u2018Data\u2019 tab under the layer options. Using this option I could add some widgets to my visualizations. I added a timeline widget that would showcase the earthquakes as per quarter (from 2000 to 2018).<span class=\"Apple-converted-space\">\u00a0 <\/span>At first, the widget didn\u2019t display the years and the number of earthquakes. To fix this problem, I had to open my dataset in Carto and change the data type of the \u2018Time\u2019 column from string to date. I added this widget to both the visualizations. On further exploration, I changed the point size style from fixed to \u2018by value\u2019 in the \u2018Points\u2019 aggregation visualization. This helped me in differentiating the earthquakes based on the magnitude level. I also added a legend in this visualization to show the magnitude level by color and size of the circle. Once everything was in place, I finally decided to play around with the colors and basemap options.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3 class=\"p1\"><span class=\"s1\"><b>Findings<\/b>\u00a0<\/span><\/h3>\n<p>Here are the links to my Carto\u00a0<span class=\"s1\">visualizations:<\/span><\/p>\n<ol>\n<li><a href=\"https:\/\/namansehgal2407.carto.com\/builder\/49b732d0-65fb-4c9b-91d7-d7f781f6c2c8\/embed\" target=\"_blank\" rel=\"noopener\"><strong>Points A<\/strong><span class=\"s1\"><strong>ggregation<\/strong><\/span><\/a><\/li>\n<li><strong><a href=\"https:\/\/namansehgal2407.carto.com\/builder\/d5429b6b-44c1-40ea-a66a-84891588cf6a\/embed\" target=\"_blank\" rel=\"noopener\">Animated A<span class=\"s1\">ggregation<\/span><\/a><\/strong><\/li>\n<\/ol>\n<div id=\"attachment_11822\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11822\" class=\"wp-image-11822 size-large\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-29-at-4.08.15-PM.png?resize=840%2C502\" alt=\"\" width=\"840\" height=\"502\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-29-at-4.08.15-PM.png?resize=1024%2C612&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-29-at-4.08.15-PM.png?resize=300%2C179&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-29-at-4.08.15-PM.png?resize=768%2C459&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-29-at-4.08.15-PM.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-29-at-4.08.15-PM.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-11822\" class=\"wp-caption-text\">\u2018Points\u2019 Aggregation Data Visualization<\/p><\/div>\n<p class=\"p1\"><span class=\"s1\">Firstly talking about the first visualization that is with the \u2018Points\u2019 aggregation style. It can be clearly seen from the timeline that quarter 1 of 2005 had the maximum number of earthquakes. Majority of them occurred around the Andaman Sea and Andaman and Nicobar Island region. From the overall visualization, one thing to note is that India as a whole has not faced many earthquakes over the past 18 years as compared to it&#8217;s neighboring countries &#8211; Pakistan, Nepal, Bhutan, Bangladesh, and Myanmar. Within India also, the southernmost part of India and central India have almost never faced any quakes over the past 18 years.<\/span><\/p>\n<div id=\"attachment_11826\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11826\" class=\"wp-image-11826 size-large\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/BvjN9A9EDk.gif?resize=840%2C501\" alt=\"\" width=\"840\" height=\"501\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/BvjN9A9EDk.gif?resize=1024%2C611&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/BvjN9A9EDk.gif?resize=300%2C179&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/BvjN9A9EDk.gif?resize=768%2C458&amp;ssl=1 768w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-11826\" class=\"wp-caption-text\">\u2018Animated\u2019 Aggregation Data Visualization<\/p><\/div>\n<p class=\"p1\"><span class=\"s1\">Moving on to the animated visualization, the analysis was kind of similar to what I learned from the points visualization but there was one new learning from this visualization. Throughout the animation, there was one region which constantly had a dot on it and it was the northeastern part of Afghanistan. This implies that the northeastern part of Afghanistan constantly got earthquakes over the past 18 years.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3 class=\"p1\"><span class=\"s1\"><b>Reflections<\/b><\/span><\/h3>\n<p class=\"p1\"><span class=\"s1\">In my opinion, Carto is a very powerful tool for making geo-spacial data visualizations. I totally love its functionality and it\u2019s easy to use interface.<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">After using it for a while I became familiar with the software and I could use it more efficiently. One drawback that I feel about this software is that it takes a while for the users to understand all the features. So if someone is looking for a quick data visualization, this software is not for them.<\/span><\/p>\n<p class=\"p1\"><span class=\"s1\">Overall, this project helped me in getting a good idea of how to map out geo-special data.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Seventeen Years after the killer 2001 quake measuring 7.7 on Richter scale shook the northwestern state of India, a resilient Gujarat rose against all odds to limp back to life. This earthquake was the most powerful to strike India since 15 August 1950. It was also the most destructive in terms of lives lost&hellip;<\/p>\n","protected":false},"author":548,"featured_media":11830,"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":[149,341],"tags":[111,295],"coauthors":[352],"class_list":["post-11817","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-labs","category-maps","tag-carto","tag-earthquakes"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/markus-spiske-632413-unsplash.jpg?fit=5760%2C3840&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paBdcV-34B","_links":{"self":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/11817","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\/548"}],"replies":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/comments?post=11817"}],"version-history":[{"count":10,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/11817\/revisions"}],"predecessor-version":[{"id":11834,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/11817\/revisions\/11834"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media\/11830"}],"wp:attachment":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media?parent=11817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/categories?post=11817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/tags?post=11817"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/coauthors?post=11817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}