{"data":{"id":"fab87435-28f0-4269-bbe8-9ea553477d71","type":"widget","attributes":{"name":"Coral Tourism Expenditure in RSGA","dataset":"deb6af7d-bf58-4320-b7cb-80403acfcef1","slug":"Coral-Tourism-Expenditure-in-WIO_6","userId":"5981e73b0c069f3c93dc5e2a","description":"The modeled “total value of coral reef tourism” reflects the estimated annual economic contribution of coral reefs to the economy – through both  “reef-adjacent” value, an overarching term used to capture a range of indirect benefits from coral reefs, including provision of sandy beaches, sheltered water, food, and attractive views, and  “on-reef” value, directly associated with in-water activities such diving and snorkeling. The analysis is based on tourism visitation and expenditure data from the World Travel and Tourism Council (WTTC) published in 2014. Data are from Spalding, M. D., Burke, L., Wood, S., Ashpole, J., Hutchison, J., & Ermgassen, P. Z. (2017). Mapping the global value and distribution of coral reef tourism. Marine Policy, 57(7), 104–113.","application":["rw"],"verified":false,"default":false,"protected":false,"defaultEditableWidget":false,"published":true,"thumbnailUrl":"https://s3.amazonaws.com/wri-api-backups/resourcewatch/prod/thumbnails/fab87435-28f0-4269-bbe8-9ea553477d71-1638543679794.png","freeze":false,"env":"production","widgetConfig":{"autosize":{"type":"fit","contains":"padding"},"schema":"https://vega.github.io/schema/vega/v5.json","width":400,"height":250,"padding":0,"signals":[],"data":[{"name":"table","format":{"type":"json","property":"rows"},"url":"https://wri-rw.carto.com/api/v2/sql?q=SELECT exp_type AS type, exp_value AS value FROM ocn_calcs_006_tourism_expenditure_by_region WHERE exp_type NOT LIKE 'Total' AND gcrmn_reg LIKE 'PERSGA' ORDER BY exp_type DESC&env=production&language=en&page[size]=999&rw=&env=production&language=en&page[size]=999&rw=","transform":[{"type":"pie","field":"value","startAngle":0,"endAngle":{"signal":"2*PI"}}]}],"scales":[{"name":"colorscale","type":"ordinal","domain":{"data":"table","field":"type"},"range":["#40B2CE","#2E75AD"]}],"axes":[],"marks":[{"type":"arc","from":{"data":"table"},"encode":{"enter":{"fill":{"scale":"colorscale","field":"type"},"x":{"signal":"width / 2"},"y":{"signal":"height / 2"}},"update":{"startAngle":{"field":"startAngle"},"endAngle":{"field":"endAngle"},"innerRadius":{"signal":"0"},"outerRadius":{"signal":"width > height ? height / 2 : width / 2"},"opacity":{"value":1},"tooltip":{"signal":"{'Value':format(datum.value/1000000,'$,.0f')+' million','Type':datum.type}"}},"hover":{"opacity":{"value":0.8}}}}],"legends":[{"title":"","fill":"colorscale","orient":"right"}],"we_meta":{"core":"2.6.3","editor":"2.6.3","renderer":"2.6.3","adapter":"rw-adapter","advanced":true}},"template":false,"createdAt":"2021-11-12T16:19:07.286Z","updatedAt":"2021-12-03T15:01:19.732Z"}}}