{
    "componentChunkName": "component---src-templates-portofolio-post-js",
    "path": "/data-visualization-postgresql-olympics",
    "result": {"data":{"markdownRemark":{"id":"6aa640b2-c907-535f-a5c1-642882a4b5a9","html":"<h1>🚀Data Visualization and Analytics With PostgresSQL  Olympics Dataset</h1>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 1024px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 66.796875%; position: relative; bottom: 0; left: 0; background-image: url('data:image/svg+xml,%3csvg%20xmlns=\\'http://www.w3.org/2000/svg\\'%20width=\\'400\\'%20height=\\'267\\'%20viewBox=\\'0%200%20400%20267\\'%20preserveAspectRatio=\\'none\\'%3e%3cpath%20d=\\'M289%20137v96h2c7%201%206%2010%206-96V42h-8v95m10%200c0%2095%200%2096%202%2096h4c2%200%202-1%202-96V42h-8v95m39%201c0%2094%200%2095%202%2095h4c2%200%202-1%202-95V44h-8v94m-20%201l1%2094h6l1-94V45h-8v94m-9%201v94l4-1h4V47h-8v93m-30-86v90l1%2089h3l4%201V53h-4l-4%201m49%2090l1%2089h6l1-89V54h-8v90m-59-77v84l1%2082h8V67l-4-1-5%201m-39%2024v72l1%2070h6l1-71V91h-8m30%2076c0%2058%200%2066%202%2066h6V103l-4-1h-4v65m-39%207v60h4l3-1V115l-3-1h-4v60m19-1v60h2c6%201%206%206%206-60v-59h-8v59m-59%203l1%2057h6l1-57v-57h-8v57m20%201c0%2055%200%2056%202%2056h4c2%200%202-1%202-56v-56h-8v56m10%203c0%2052%200%2053%202%2053h4c2%200%202-1%202-53v-53h-8v53m39%204c0%2054-1%2049%206%2049%201%200%202%200%202-49v-50h-8v50m-88%204c0%2044%200%2045%202%2045h4c2%200%202-1%202-45v-45h-8v45m10%201v44h8v-88h-8v44m-39%208c0%2031%200%2036%202%2036h6v-71l-4-1h-4v36m58-34v36l1%2034h6l1-35v-36h-4l-4%201m-49%2036l1%2034h3l4%201v-70h-8v35m-19%205c0%2032%200%2029%206%2029%201%200%202%200%202-29v-30h-8v30m-10%201c0%2027%200%2028%202%2028%206%202%206%202%206-28v-28h-8v28m-10%207c0%2021%200%2021%202%2021%206%201%206%202%206-21v-21h-8v21m49%200c0%2021%200%2021%202%2021%206%201%206%202%206-21v-20h-8v20m-78%208c0%2012%200%2013%202%2013%206%202%206%201%206-13v-13h-8v13m19-10v13c1%2011%200%2011%207%2010l1-12v-12h-4l-4%201m-9%2015v9h7v-18h-7v9\\'%20fill=\\'%23d3d3d3\\'%20fill-rule=\\'evenodd\\'/%3e%3c/svg%3e'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"num athlete count overtime\"\n        title=\"num athlete count overtime\"\n        src=\"/static/7d515a073c23aa37e122c287483a1798/2bef9/num_athlete_count_overtime.png\"\n        srcset=\"/static/7d515a073c23aa37e122c287483a1798/6f3f2/num_athlete_count_overtime.png 256w,\n/static/7d515a073c23aa37e122c287483a1798/01e7c/num_athlete_count_overtime.png 512w,\n/static/7d515a073c23aa37e122c287483a1798/2bef9/num_athlete_count_overtime.png 1024w,\n/static/7d515a073c23aa37e122c287483a1798/86a1e/num_athlete_count_overtime.png 1296w\"\n        sizes=\"(max-width: 1024px) 100vw, 1024px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 864px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 66.796875%; position: relative; bottom: 0; left: 0; background-image: url('data:image/svg+xml,%3csvg%20xmlns=\\'http://www.w3.org/2000/svg\\'%20width=\\'400\\'%20height=\\'267\\'%20viewBox=\\'0%200%20400%20267\\'%20preserveAspectRatio=\\'none\\'%3e%3cpath%20d=\\'M49%20115v89h26V26H49v89m33-88v89l1%2088h26V26H96l-14%201m34%20146v31h27v-61l-14-1h-13v31m34%203v28h26v-56h-26v28m34-3l-1%2016v15h27v-31l-13-1-13%201m34%200l-1%2016v15h27v-31l-13-1-13%201m32%207v13l1%2011h26v-25h-13l-14%201m34%2013v11h27v-22l-14-1h-13v12m34%200v11h26v-23h-26v12m33%200l1%2011h26v-21h-27v10\\'%20fill=\\'%23d3d3d3\\'%20fill-rule=\\'evenodd\\'/%3e%3c/svg%3e'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"most medal usa\"\n        title=\"most medal usa\"\n        src=\"/static/e9a86aac32f5d46ddabaa36c4b5f5260/9cab2/most_medal_usa.png\"\n        srcset=\"/static/e9a86aac32f5d46ddabaa36c4b5f5260/6f3f2/most_medal_usa.png 256w,\n/static/e9a86aac32f5d46ddabaa36c4b5f5260/01e7c/most_medal_usa.png 512w,\n/static/e9a86aac32f5d46ddabaa36c4b5f5260/9cab2/most_medal_usa.png 864w\"\n        sizes=\"(max-width: 864px) 100vw, 864px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 864px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 66.796875%; position: relative; bottom: 0; left: 0; background-image: url('data:image/svg+xml,%3csvg%20xmlns=\\'http://www.w3.org/2000/svg\\'%20width=\\'400\\'%20height=\\'267\\'%20viewBox=\\'0%200%20400%20267\\'%20preserveAspectRatio=\\'none\\'%3e%3cpath%20d=\\'M121%2028a4272%204272%200%20001%20214c2%200%202-1%202-107%200-104-1-110-3-107m5%207a4125%204125%200%20001%20207c2%200%202-1%202-104%200-106%200-107-3-103m-10%208a3816%203816%200%20001%20199c2%200%202-1%202-100%200-102%200-103-3-99m15%20101c0%2086%200%2098%202%2098l1-98-1-99c-2%200-2%2012-2%2099m5%206c0%2081%200%2092%202%2092l1-92-1-92c-2%200-2%2011-2%2092m-25-77a2763%202763%200%20001%20169c2%200%202-1%202-85%200-86%200-88-3-84m30%2084c0%2075%200%2085%202%2085l1-85-1-85c-2%200-2%2010-2%2085m5%2012c0%2072%200%2073%202%2073s2-1%202-73c0-73%200-74-2-74s-2%201-2%2074m-40%209c0%2056%200%2064%202%2064s1-126-1-127l-1%2063m45%203c0%2060%200%2061%202%2061s2-1%202-61%200-61-2-61-2%201-2%2061m5%2010c0%2050%200%2051%202%2051s2-1%202-50c0-47-1-50-2-51-2%200-2%203-2%2050m-56%208c0%2042%200%2043%202%2043s2-1%202-43%200-43-2-43-2%201-2%2043m61%204c0%2038%200%2039%202%2039s2-1%202-39%200-39-2-39-2%201-2%2039m6-24a401%20401%200%20001%2063c2%200%202-1%202-32%200-32%200-34-3-31m-72%2036c0%2026%200%2027%202%2027s2-1%202-27%200-27-2-27-2%201-2%2027m77-22a248%20248%200%20001%2049c2%200%202-1%202-25%200-25%200-27-3-24m4%2029c0%2019%200%2020%202%2020s2-1%202-20%200-20-2-20-2%201-2%2020m-86%204c0%2015%200%2016%202%2016s2-1%202-16c0-16%200-17-2-17s-2%201-2%2017\\'%20fill=\\'%23d3d3d3\\'%20fill-rule=\\'evenodd\\'/%3e%3c/svg%3e'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"age distribution of medalists\"\n        title=\"age distribution of medalists\"\n        src=\"/static/7029b5fa12b0aa6eef918005421c5c0a/9cab2/age_distribution_of_medalists.png\"\n        srcset=\"/static/7029b5fa12b0aa6eef918005421c5c0a/6f3f2/age_distribution_of_medalists.png 256w,\n/static/7029b5fa12b0aa6eef918005421c5c0a/01e7c/age_distribution_of_medalists.png 512w,\n/static/7029b5fa12b0aa6eef918005421c5c0a/9cab2/age_distribution_of_medalists.png 864w\"\n        sizes=\"(max-width: 864px) 100vw, 864px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 864px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 66.796875%; position: relative; bottom: 0; left: 0; background-image: url('data:image/svg+xml,%3csvg%20xmlns=\\'http://www.w3.org/2000/svg\\'%20width=\\'400\\'%20height=\\'267\\'%20viewBox=\\'0%200%20400%20267\\'%20preserveAspectRatio=\\'none\\'%3e%3cpath%20d=\\'M50%2039v195h311V32H50v7m1%2094v100h309V33H51v100\\'%20fill=\\'%23d3d3d3\\'%20fill-rule=\\'evenodd\\'/%3e%3c/svg%3e'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"gymnastics athletic build by country scatterplot\"\n        title=\"gymnastics athletic build by country scatterplot\"\n        src=\"/static/befd74d476d61e8b03696f865c24f39f/9cab2/gymnastics_athletic_build_by_country_scatterplot.png\"\n        srcset=\"/static/befd74d476d61e8b03696f865c24f39f/6f3f2/gymnastics_athletic_build_by_country_scatterplot.png 256w,\n/static/befd74d476d61e8b03696f865c24f39f/01e7c/gymnastics_athletic_build_by_country_scatterplot.png 512w,\n/static/befd74d476d61e8b03696f865c24f39f/9cab2/gymnastics_athletic_build_by_country_scatterplot.png 864w\"\n        sizes=\"(max-width: 864px) 100vw, 864px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<h2><strong>Overview</strong></h2>\n<p>Getting hyped for the olympics by practicing SQL queries on historical olympic data</p>\n<p>Read my <a href=\"https://hirazone.medium.com/data-visualization-olympics-dataset-with-possql-1a6f80f0d910\">medium article</a>!</p>\n<p>All code is available in the notebook entitled <code class=\"language-text\">olympic-exploration.ipynb</code>. Note that if you want to follow along, you will need to set up a local PostgreSQL server by installing <a href=\"https://www.postgresqltutorial.com/install-postgresql/\">PostgreSQL</a> and <a href=\"https://www.pgadmin.org/\">PgAdmin</a> onto your local machine.</p>\n<h2><strong>Source Code</strong></h2>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 729px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 25.78125%; position: relative; bottom: 0; left: 0; background-image: url('data:image/svg+xml,%3csvg%20xmlns=\\'http://www.w3.org/2000/svg\\'%20width=\\'400\\'%20height=\\'104\\'%20viewBox=\\'0%200%20400%20104\\'%20preserveAspectRatio=\\'none\\'%3e%3cpath%20d=\\'M305%2032c-2%203%200%205%204%205%203%200%204-1%204-2h1v4l3-3%201-1%201%202%201-2h1l1%202%201-2h1l1%202%201-2c0-2-1-3-5-3l-5%201-2-1c-1-1-2-2-3-1h-1c-2-2-4-1-5%201m-3%2060c1%201%204%202%2044%202%2043%200%2044%200%2044-2s-1-2-44-2c-42%200-44%200-44%202\\'%20fill=\\'%23d3d3d3\\'%20fill-rule=\\'evenodd\\'/%3e%3c/svg%3e'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"kcxzchz\"\n        title=\"kcxzchz\"\n        src=\"/static/7f84ae9a5b591428d45588a303482740/b2982/kcxzchz.png\"\n        srcset=\"/static/7f84ae9a5b591428d45588a303482740/6f3f2/kcxzchz.png 256w,\n/static/7f84ae9a5b591428d45588a303482740/01e7c/kcxzchz.png 512w,\n/static/7f84ae9a5b591428d45588a303482740/b2982/kcxzchz.png 729w\"\n        sizes=\"(max-width: 729px) 100vw, 729px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>","excerpt":"🚀Data Visualization and Analytics With PostgresSQL  Olympics Dataset     Overview Getting hyped for the olympics by practicing SQL queries on…","frontmatter":{"date":"July 27, 2021","slug":"/data-visualization-postgresql-olympics","title":"Data Visualization and Analytics With PostgresSQL  Olympics Dataset","description":"Data Visualization and Analytics With PostgresSQL  Olympics Dataset","featuredImage":{"childImageSharp":{"gatsbyImageData":{"layout":"fullWidth","backgroundColor":"#e8e8e8","images":{"fallback":{"src":"/static/19c51a347351d5a0b33134b7a2d64516/a5930/0_krwximnedn9vxxfn.jpg","srcSet":"/static/19c51a347351d5a0b33134b7a2d64516/c7834/0_krwximnedn9vxxfn.jpg 750w,\n/static/19c51a347351d5a0b33134b7a2d64516/11edd/0_krwximnedn9vxxfn.jpg 1080w,\n/static/19c51a347351d5a0b33134b7a2d64516/f1cbc/0_krwximnedn9vxxfn.jpg 1366w,\n/static/19c51a347351d5a0b33134b7a2d64516/a5930/0_krwximnedn9vxxfn.jpg 1400w","sizes":"100vw"},"sources":[{"srcSet":"/static/19c51a347351d5a0b33134b7a2d64516/4e534/0_krwximnedn9vxxfn.webp 750w,\n/static/19c51a347351d5a0b33134b7a2d64516/e5dd4/0_krwximnedn9vxxfn.webp 1080w,\n/static/19c51a347351d5a0b33134b7a2d64516/1de46/0_krwximnedn9vxxfn.webp 1366w,\n/static/19c51a347351d5a0b33134b7a2d64516/6515e/0_krwximnedn9vxxfn.webp 1400w","type":"image/webp","sizes":"100vw"}]},"width":1,"height":0.5657142857142857}}}}}},"pageContext":{"id":"6aa640b2-c907-535f-a5c1-642882a4b5a9","previous":{"id":"340196e4-6110-5746-a9d2-1bcdd61d7363","frontmatter":{"slug":"/aws-ML-learning","template":"blog-post","title":"AWS Machine Learning Foundations Course"}},"next":{"id":"7f9eb227-9d3f-5a1d-9b81-aff6c52bd5ab","frontmatter":{"slug":"/data-modeling-cassandra","template":"portofolio-post","title":"Data Modeling With Apache Cassandra + Docker"}}}},
    "staticQueryHashes": ["228695001","2744905544","4267595483"]}