class: bottom, right, title-slide <img src="figures/qut_crest.png" style="position:absolute;top:15px;left:20px;height:100px;width:100px;" /> <img src="figures/monash_crest.jpg" style="position:absolute;top:15px;left:150px;height:100px;width:100px;" /> ## An Australian alternative ## to choropleth maps; ## visualising geo-spatial ## disease data ### Stephanie Kobakian ### [srkobakian](https://github.com/srkobakian) <svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" style="height:1em;fill:currentColor;position:relative;display:inline-block;top:.1em;"> [ comment ] <path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg><svg viewBox="0 0 496 512" xmlns="http://www.w3.org/2000/svg" style="height:1em;fill:currentColor;position:relative;display:inline-block;top:.1em;"> [ comment ] <path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg> ??? Good afternoon, My name is Stephanie --- class: bg-main1 split-30 .column.bg-deep-green[ ] .column.bg-green[ # Superisory Team <br> ## Professor Kerrie Mengersen <br> ## Doctor Earl Duncan <br> ## Professor Di Cook ] <img src="figures/kerrie-mengersen.jpg" style="position:absolute;top:15px;left:60px;height:200px;width:150px;" /> <img src="figures/earl-duncan.png" style="position:absolute;top:240px;left:60px;height:200px;width:150px;" /> <img src="figures/di-cook.png" style="position:absolute;top:465px;left:60px;height:200px;width:150px;" /> <img src="figures/acems_logo.jpg" style="position:absolute;top:465px;right:450px;height:150px;width:350px;" /> <img src="figures/qut_crest.png" style="position:absolute;top:465px;right:50px;height:150px;width:150px;" /> <img src="figures/monash_crest.jpg" style="position:absolute;top:465px;right:250px;height:150px;width:150px;" /> --- class: bg-main1 split-30 .column.bg-deep-green[ <br><br><br><br><br><br><br><br><br><br><br><br><br><br> Professor Peter Baade <br><br><br><br><br><br><br><br><br><br><br> Dr Susanna Cramb ] .column.bg-green[ <br> # Motivation ## Australian Cancer Atlas ] <img src="figures/peter-baade.jpg" style="position:absolute;top:120px;left:80px;height:210px;width:175px;" /> <img src="figures/susanna-cramb.png" style="position:absolute;top:370px;left:80px;height:210px;width:175px;" /> <img src="figures/atlas.png" style="position:absolute;top:250px;right:125px;height:350px;width:600px;" /> ??? With the help of Dr Peter Baade and Dr Susanna Cramb were key contributors to the Atlas. They also gave a lot of time and effort to help me with my work and my contributions to the Atlas. ViseR at QUT and The Cancer Caner of Queensland were also extremely valuable contributors. --- class: bg-deep-green # Australia ## - Standardised Incidence Rate ## - Lung cancer ## - Average for 2010-2014 ## - Males and Females --- class: bg-deep-green, center background-image: url(figures/atlases/australia_lung.png) background-position: 50% 85% background-size: 60% # Lung Cancer in Australia ??? What do you learn about Lung cancer in Australia? Red for Standardised Incidence Rates much higher than Australian Average. Yellow arounf the average, Dark blue for areas less than the average. - Red areas in Northern Territory and Northern QLD - Red in Tasmania - Blue near capital cities --- class: bg-deep-green, center background-image: url(figures/atlases/australia_lung.png) background-position: 50% 85% background-size: 60% # Choropleth map ??? What is a choropleth map? Coloured map, each area has boundaries drawn. Colour is determined by the statistic. --- class: bg-deep-green, center # Statistical Areas ### - Australian Bureau of Statistics (ABS) ### - 2148 populated Statistical Areas at Level 2 (SA2s) ### - SA2 is the smallest area for the release of many ABS statistics <br> ### - Reflect functional areas, communities ### (Interact together socially and economically) ### - Population range of 3,000 to 25,000 persons ### (Average population of about 10,000 persons) --- class: bg-deep-green, center # Online cancer atlases .pull-left[ <img src="figures/atlases/global_international agency for research on cancer_app3.png" width="500px" height="250px" /> <img src="figures/atlases/global_the cancer atlas_app4.png" width="500px" height="250px" /> ] .pull-right[ <img src="figures/atlases/australia_all cancer.png" width="500px" height="250px" /> <img src="figures/atlases/US_all cancer types_nccd_cdc_app7.png" width="500px" height="250px" /> ] ??? Well used in practice Familiar Only one new piece of information --- background-image: url(figures/quote.png) background-position: 50% 50% background-size: 90% --- class: bg-deep-green, center background-image: url(figures/atlases/australia_comparing.png) background-position: 50% 70% background-size: 80% # Comparing two areas --- class: split-60 center .column.bg-deep-green[.content[ <br><br> # Choropleth <img src="figures/aus_ggchoro.png" width="550px" /> <br><br> .footnote[ [package: sf](https://cran.r-project.org/web/packages/sf/index.html) ] ]] .column.bg-main4[.content.middle[ <br><br> #Features: <br><br> ### - Familiar shapes of areas <br> ### - Familiar boundary relationships ]] --- class: bg-deep-green, center, middle # Alternative # Options --- class: split-60 center .column.bg-deep-green[.content[ <br> # Contiguous # Cartogram <img src="figures/aus_ggcont.png" width="500px" /> <br><br> .footnote[ [package used: cartogram](https://cran.r-project.org/web/packages/cartogram/index.html) ] ]] .column.bg-main4[.content.middle[ <br><br> #Features: ### - Boundaries stay connected ### - Shapes change ### - Provide amount of iterations #Issue: ### <svg viewBox="0 0 352 512" xmlns="http://www.w3.org/2000/svg" style="height:1em;fill:currentColor;position:relative;display:inline-block;top:.1em;"> [ comment ] <path d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"></path></svg> May not complete within iteration limit ]] --- class: split-60 center .column.bg-deep-green[.content[ <br> # Non - Contiguous # Cartogram <img src="figures/aus_ggncont.png" width="500px" /> <br><br> .footnote[ [package used: cartogram](https://cran.r-project.org/web/packages/cartogram/index.html) ] ]] .column.bg-main4[.content.middle[ <br><br> #Features: ### - Shapes stay ### - Boundaries lose connections ### <svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" style="height:1em;fill:currentColor;position:relative;display:inline-block;top:.1em;"> [ comment ] <path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg> Completed transformation #Issue: ### <svg viewBox="0 0 352 512" xmlns="http://www.w3.org/2000/svg" style="height:1em;fill:currentColor;position:relative;display:inline-block;top:.1em;"> [ comment ] <path d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"></path></svg> Cannot see the areas ]] --- class: split-60 center .column.bg-deep-green[.content[ <br> # Dorling # Cartogram <img src="figures/aus_ggdorl.png" width="500px" /> <br><br> .footnote[ [package used: cartogram](https://cran.r-project.org/web/packages/cartogram/index.html) ] ]] .column.bg-main4[.content.middle[ <br><br> #Features: ### - Shapes are consistent ### - Boundaries still touch ### <svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" style="height:1em;fill:currentColor;position:relative;display:inline-block;top:.1em;"> [ comment ] <path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg> Can see all the areas #Issue: ### <svg viewBox="0 0 352 512" xmlns="http://www.w3.org/2000/svg" style="height:1em;fill:currentColor;position:relative;display:inline-block;top:.1em;"> [ comment ] <path d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"></path></svg> Lost geographic reference ]] --- class: bg-deep-green # USA ## Age Adjusted Rate ## Lung and Bronchus ## 2012-2016 ## Male and Female ### The official federal statistics on cancer incidence and deaths ### [source: Centers for Disease Control and Prevention (CDC) and the National Cancer Institute (NCI).](https://gis.cdc.gov/cancer/USCS/DataViz.html) --- class: bg-main2, center background-image: url(figures/ggchoro.png) background-position: 50% 50% background-size: 75% # USA: Choropleth .footnote[ [package used: sf](https://cran.r-project.org/web/packages/sf/index.html) ] ??? --- class: bg-main2, center background-image: url(figures/ggcont.png) background-position: 50% 50% background-size: 80% # USA: Contiguous Cartogram .footnote[ [package used: cartogram](https://cran.r-project.org/web/packages/cartogram/index.html) ] --- class: bg-main2, center background-image: url(figures/ggncont.png) background-position: 50% 50% background-size: 80% # USA: Non-Contiguous Cartogram .footnote[ [package used: cartogram](https://cran.r-project.org/web/packages/cartogram/index.html) ] --- class: bg-main2, center background-image: url(figures/ggdorl.png) background-position: 50% 50% background-size: 80% # USA: Dorling Cartogram .footnote[ [package used: cartogram](https://cran.r-project.org/web/packages/cartogram/index.html) ] --- class: split-60 center .column.bg-deep-green[.content[ <br> # USA: Tilegram <img src="figures/ggtilegram.png" width="500px" /> <br><br> .footnote[ [tilegramR](https://cran.r-project.org/web/packages/tilegramR/index.html) ] ]] .column.bg-main4[.content.middle[ <br> #Features: ### - Shapes are consistent ### - Boundaries may still touch ### <svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" style="height:1em;fill:currentColor;position:relative;display:inline-block;top:.1em;"> [ comment ] <path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg> Can see all the areas ### <svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" style="height:1em;fill:currentColor;position:relative;display:inline-block;top:.1em;"> [ comment ] <path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg> Maintains geographic reference #Issue: ### <svg viewBox="0 0 352 512" xmlns="http://www.w3.org/2000/svg" style="height:1em;fill:currentColor;position:relative;display:inline-block;top:.1em;"> [ comment ] <path d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"></path></svg> Hand drawn grid ]] --- class: split-60 center .column.bg-deep-green[.content[ <br> # USA: Geo-Facet map <img src="figures/ggfacet.png" width="650px" height="400px" /> <br><br> .footnote[ [geofacet](https://cran.r-project.org/web/packages/geofacet/index.html) ] ] ]] .column.bg-main4[.content.middle[ <br><br> #Features: ### - Any visualisation can be drawn ### - Boundaries may still touch ### <svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" style="height:1em;fill:currentColor;position:relative;display:inline-block;top:.1em;"> [ comment ] <path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg> Can see all the areas ### <svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" style="height:1em;fill:currentColor;position:relative;display:inline-block;top:.1em;"> [ comment ] <path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg> Maintains geographic reference #Issue: ### <svg viewBox="0 0 352 512" xmlns="http://www.w3.org/2000/svg" style="height:1em;fill:currentColor;position:relative;display:inline-block;top:.1em;"> [ comment ] <path d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"></path></svg> Hand drawn grid ]] --- class: bg-deep-green, center ## International Agency for Research on Cancer .pull-left[ <img src="figures/atlases/iarc/cancertoday1.png" width="465px" /> <img src="figures/atlases/iarc/cancertoday2.png" width="465px" /> ] .pull-right[ <img src="figures/atlases/iarc/cancertoday3.png" width="465px" /> <img src="figures/atlases/iarc/cancertoday4.png" width="465px" /> ] --- class: split-50 center .column.bg-deep-green[.content[ <br> <br><br> # Motivation ## Contrast all communities <br> # Population Displays ## - Great alternatives ## - Shifts the focus ]] .column.bg-main4[.content[ <br> <br> <br><br> # Challenge ## - Hand drawn ## - Cannot see the areas ## - May loose geographic reference ]] --- class: split-50 .column.bg-deep-green[.content[ <br> .center[ <img src="figures/sugarbag.png" width="500px" /> ]]] .column.bg-main4[.content[ <br> <br> <br><br> # Challenges ## - Hand drawn ## - Cannot see the areas ## - May loose geographic reference ]] --- class: split-50 .column.bg-deep-green[.content[ <br> .center[ <img src="figures/sugarbag.png" width="500px" /> ]]] .column.bg-main4[.content[ <br> <br> <br><br> # Solutions: ## - Algorithm ## - Equally sized areas ## - Focal points, ## buffering & angles ]] --- class: bg-main2, center # Tasmania .pull-left[ <img src="figures/algorithm/tas_centroids.png" width="500px" /> ] .pull-right[ <br> <br> <br> ## SA2s ## 98 areas ] --- class: bg-main2, center # Create a square grid .pull-left[ <img src="figures/algorithm/tas_1grid.png" width="500px" /> ] .pull-right[ <br> <br> ## - Equally spaced ## rows and columns ## - Covers all centroids ## - Expands by a buffer zone ] --- class: bg-main2, center # Create a hexagon grid .pull-left[ <img src="figures/algorithm/tas_2hexgrid.png" width="500px" /> ] .pull-right[ <br> <br> ## - Allows tesselating hexagons ## - Equally spaced rows ## - Covers all centroids ## - Expands by a buffer zone ] --- class: bg-main2, center # Strategic buffering .pull-left[ <img src="figures/algorithm/tas_3buffer.png" width="500px" /> ] .pull-right[ <br> <br> ## - Filters within a buffer zone ## - Allows tesselating hexagons ## - Equally spaced rows ## - Covers all centroids ] --- class: bg-main2, center, middle # Set up completed # <svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" style="height:1em;fill:currentColor;position:relative;display:inline-block;top:.1em;"> [ comment ] <path d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg> # Ready to allocate --- class: bg-main2, center # Allocating ## Provide focal points <img src="figures/aus_capcities.png" width="600px" /> --- class: bg-main2, center # Begin filtering hexagon points .pull-left[ <img src="figures/algorithm/tas_4centroid1.png" width="500px" /> ] .pull-right[ <img src="figures/algorithm/tas_5centroid1.png" width="500px" /> ] --- class: bg-main2, center # Angled filter for hexagon points .pull-left[ <img src="figures/algorithm/tas_6centroid1.png" width="500px" /> ] .pull-right[ <img src="figures/algorithm/tas_7centroid1.png" width="500px" /> ] --- class: bg-main2, center # Closest available point .pull-left[ <img src="figures/algorithm/tas_7centroid1.png" width="500px" /> ] .pull-right[ ## - Choose closest point ## - Angle maintains the spatial relationship ] --- class: bg-main2, center # Final product <img src="figures/algorithm/tas_9end.png" width="1000px" /> --- class: split-50 bg-deep-green # Using sugarbag .left-code[ ### 1. Create centroids set ```r centroids <- create_centroids( tas_sa2, "sa2_name_2011") ``` <br> ### 2. Create hexagon grid ```r grid <- create_grid( centroids = centroids, hex_size = 0.2, buffer_dist = 1.2) ``` ] .pull-right[ ### 3. Allocate polygon centroids ### to the hexagon grid ```r allocated <- allocate( centroids = centroids, sf_id = "sa2_name_2011", hex_grid = grid, hex_size = 0.2, hex_filter = 1, use_neighbours = tas_sa2, width = 30, focal_points = capital_cities, verbose = TRUE ) ``` ] --- class: bg-main2 # Shortcut ```r hexmap <- create_hexmap( shp = tas_sa2, sf_id = "sa2_name_2011", neighbours = tas_sa2, focal_points = capital_cities, verbose = TRUE ) ``` --- class: split-50 center .column.bg-deep-green[.content[ # Lung (persons) <img src="figures/cancer/aus_lung_p.png" style="position:absolute;top:40px;left:15px;height:600px;width:600px;" /> ]] .column.bg-deep-green[.content[ <img src="figures/cancer/aus_lung_p_hex.png" style="position:absolute;top:0px;right:15px;height:700px;width:600px;" /> ]] --- class: split-50 center .column.bg-deep-green[.content[ # Liver (females) <img src="figures/cancer/aus_liver_f.png" style="position:absolute;top:40px;left:15px;height:600px;width:600px;" /> ]] .column.bg-deep-green[.content[ <img src="figures/cancer/aus_liver_f_hex.png" style="position:absolute;top:0px;right:15px;height:700px;width:600px;" /> ]] --- class: split-50 center .column.bg-deep-green[.content[ # Liver (males) <img src="figures/cancer/aus_liver_m.png" style="position:absolute;top:40px;left:15px;height:600px;width:600px;" /> ]] .column.bg-deep-green[.content[ <img src="figures/cancer/aus_liver_m_hex.png" style="position:absolute;top:0px;right:15px;height:700px;width:600px;" /> ]] --- class: split-50 center .column.bg-deep-green[.content[ # Melanoma (persons) <img src="figures/cancer/aus_melanoma_p.png" style="position:absolute;top:40px;left:15px;height:600px;width:600px;" /> ]] .column.bg-deep-green[.content[ <img src="figures/cancer/aus_melanoma_p_hex.png" style="position:absolute;top:0px;right:15px;height:700px;width:600px;" /> ]] --- class: bg-deep-green, center <img src="figures/melanoma_animation.gif" width="700px" height="700px" /> --- class: bg-black, center <img src="figures/maps.png" style="position:absolute;bottom:15px;left:50px;height:500px;width:1100px;" /> # Line up experiment #### Same data, different display ??? position 12, replicate 9 Is this a better way to present data. Lineup protocol: 12 possible locations, one real data set Pick the map that is most different? --- class: bg-deep-green, center # Experimental Design <img src="figures/pilot/skobakian_design.png" width="700px" height="450px" /> --- class: bg-black, center # Your turn (a) <img src="figures/pilot/aus_three_12_hex.png" style="position:absolute;top:100px;left:270px;height:550px;width:700px;" /> --- class: bg-black, center # Your turn (b) <img src="figures/pilot/aus_cities_9_hex.png" style="position:absolute;top:100px;left:270px;height:550px;width:700px;" /> --- class: bg-black, center # Your turn (a) Map 12 <img src="figures/pilot/aus_three_12_hex.png" style="position:absolute;top:100px;left:270px;height:550px;width:700px;" /> --- class: bg-black, center # Your turn (b) Map 9 <img src="figures/pilot/aus_cities_9_hex.png" style="position:absolute;top:100px;left:270px;height:550px;width:700px;" /> --- class: bg-black, center # Your turn (a) <img src="figures/pilot/aus_cities_9_geo.png" style="position:absolute;top:100px;left:270px;height:550px;width:700px;" /> --- class: bg-black, center # Your turn (b) <img src="figures/pilot/aus_nwse_6_geo.png" style="position:absolute;top:100px;left:270px;height:550px;width:700px;" /> --- class: bg-black, center # Your turn (a) Map 9 <img src="figures/pilot/aus_cities_9_geo.png" style="position:absolute;top:100px;left:270px;height:550px;width:700px;" /> --- class: bg-black, center # Your turn (b) Map 6 <img src="figures/pilot/aus_nwse_6_geo.png" style="position:absolute;top:100px;left:270px;height:550px;width:700px;" /> --- class: bg-black, center <img src="https://github.com/srkobakian/experiment/raw/master/figures/pilot/replicate_change.png" style="position:absolute;bottom:15px;left:100px;height:550px;width:1000px;" /> # Probability of detection --- class: bg-deep-green # References 1. Dougenik JA, Chrisman NR, Niemeyer DR. An Algorithm to Construct Continuous Area Cartograms. The Professional Geographer 1985;37:75–81. doi:10.1111/j.0033-0124.1985.00075.x. 1. Olson JM. Noncontiguous Area Cartograms. The Professional Geographer 1976;28:371–80. doi:10.1111/j.0033-0124.1976.00371.x. 1. Dorling D. Area Cartograms: Their Use and Creation. In:. Concepts and techniques in modern geography (catmog), vol. 59, 2011, pp. 252–60. doi:10.1002/9780470979587.ch33. 1. Buja, A., D. Cook, and D. Swayne. (1999). “Inference for Data Visualization.” In Talk given at Joint Statistical Meetings. Baltimore, Maryland. Accessed 11 November 2019 from http://www-stat.wharton.upenn.edu/~buja/PAPERS/visual-inference.pdf. 1. Pebesma, E., 2018. Simple Features for R: Standardized Support for Spatial Vector Data. The R Journal 10 (1), 439-446, https://doi.org/10.32614/RJ-2018-009 1. H. Wickham. ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York, 2016. 1. Hadley Wickham (2017). tidyverse: Easily Install and Load the 'Tidyverse'. R package version 1.2.1. https://CRAN.R-project.org/package=tidyverse 1. Sebastian Jeworutzki (2018). cartogram: Create Cartograms with R. R package version 0.1.1. https://CRAN.R-project.org/package=cartogram 1. Bob Rudis (2017). statebins: Create 'U.S.' Uniform Square State Cartogram Heatmaps. R package version 2.0.0. https://github.com/hrbrmstr/statebins <img src="figures/crest.png" style="position:absolute;top:15px;right:20px;height:100px;width:100px;" /> --- class: bg-deep-green # With thanks: ### Prof Di cook ### Prof Kerrie Mengersen ### Dr. Earl Duncan <br><br> ### created with xaringan <i class="fas fa-user-ninja"></i> and [kunoichi](https://github.com/emitanaka/ninja-theme) ### scripts and data available [srkobakian](https://github.com/srkobakian) ### sugarbag maps [srkobakian/sugarbag](https://github.com/srkobakian/sugarbag) <br><br> #### This work is under licensed [<svg viewBox="0 0 496 512" xmlns="http://www.w3.org/2000/svg" style="height:1em;fill:currentColor;position:relative;display:inline-block;top:.1em;"> [ comment ] <path d="M245.83 214.87l-33.22 17.28c-9.43-19.58-25.24-19.93-27.46-19.93-22.13 0-33.22 14.61-33.22 43.84 0 23.57 9.21 43.84 33.22 43.84 14.47 0 24.65-7.09 30.57-21.26l30.55 15.5c-6.17 11.51-25.69 38.98-65.1 38.98-22.6 0-73.96-10.32-73.96-77.05 0-58.69 43-77.06 72.63-77.06 30.72-.01 52.7 11.95 65.99 35.86zm143.05 0l-32.78 17.28c-9.5-19.77-25.72-19.93-27.9-19.93-22.14 0-33.22 14.61-33.22 43.84 0 23.55 9.23 43.84 33.22 43.84 14.45 0 24.65-7.09 30.54-21.26l31 15.5c-2.1 3.75-21.39 38.98-65.09 38.98-22.69 0-73.96-9.87-73.96-77.05 0-58.67 42.97-77.06 72.63-77.06 30.71-.01 52.58 11.95 65.56 35.86zM247.56 8.05C104.74 8.05 0 123.11 0 256.05c0 138.49 113.6 248 247.56 248 129.93 0 248.44-100.87 248.44-248 0-137.87-106.62-248-248.44-248zm.87 450.81c-112.54 0-203.7-93.04-203.7-202.81 0-105.42 85.43-203.27 203.72-203.27 112.53 0 202.82 89.46 202.82 203.26-.01 121.69-99.68 202.82-202.84 202.82z"></path></svg> BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/).