From c105fb9e50a2baf335381e003a31a87285aef94a Mon Sep 17 00:00:00 2001 From: Bo Xu Date: Fri, 24 Feb 2023 18:46:28 -0800 Subject: [PATCH] Add climate trace tool page examples (#2323) --- .../custom_dc/climate_trace/map_examples.json | 42 +++++++++++++++++++ .../climate_trace/scatter_examples.json | 42 +++++++++++++++++++ .../climate_trace/timeline_examples.json | 42 +++++++++++++++++++ 3 files changed, 126 insertions(+) create mode 100644 server/templates/custom_dc/climate_trace/map_examples.json create mode 100644 server/templates/custom_dc/climate_trace/scatter_examples.json create mode 100644 server/templates/custom_dc/climate_trace/timeline_examples.json diff --git a/server/templates/custom_dc/climate_trace/map_examples.json b/server/templates/custom_dc/climate_trace/map_examples.json new file mode 100644 index 0000000000..c9c25f3ea0 --- /dev/null +++ b/server/templates/custom_dc/climate_trace/map_examples.json @@ -0,0 +1,42 @@ +[ + { + "header": "CO2 emissions from forest fires", + "preposition": "across", + "examples": [ + { + "text": "countries in Earth", + "url": "#%26sv%3DAnnual_Emissions_GreenhouseGas_ForestFire%26pc%3D0%26denom%3DCount_Person%26pd%3DEarth%26ept%3DCountry%26ppt%3DEpaReportingFacility" + } + ] + }, + { + "header": "CO2 emissions from agriculture", + "preposition": "across", + "examples": [ + { + "text": "countries in Earth", + "url": "#%26sv%3DAnnual_Emissions_CarbonDioxide_Agriculture%26pc%3D0%26denom%3DCount_Person%26pd%3DEarth%26ept%3DCountry%26ppt%3DEpaReportingFacility" + } + ] + }, + { + "header": "CO2 emissions from electricity generation", + "preposition": "across", + "examples": [ + { + "text": "countries in Earth", + "url": "#%26sv%3DAnnual_Emissions_CarbonDioxide_ElectricityGeneration%26pc%3D0%26denom%3DCount_Person%26pd%3DEarth%26ept%3DCountry%26ppt%3DEpaReportingFacility" + } + ] + }, + { + "header": "CO2 emissions from manufacturing", + "preposition": "across", + "examples": [ + { + "text": "countries in Earth", + "url": "#%26sv%3DAnnual_Emissions_CarbonDioxide_Manufacturing%26pc%3D0%26denom%3DCount_Person%26pd%3DEarth%26ept%3DCountry%26ppt%3DEpaReportingFacility" + } + ] + } +] diff --git a/server/templates/custom_dc/climate_trace/scatter_examples.json b/server/templates/custom_dc/climate_trace/scatter_examples.json new file mode 100644 index 0000000000..c4e342d660 --- /dev/null +++ b/server/templates/custom_dc/climate_trace/scatter_examples.json @@ -0,0 +1,42 @@ +[ + { + "header": "Life expectancy vs. Oil and Gas emissions per capita", + "preposition": "for countries in", + "examples": [ + { + "text": "Earth", + "url": "#%26svx%3DAnnual_Emissions_GreenhouseGas_OilAndGas%26lx%3D1%26pcx%3D1%26dx%3DCount_Person%26svy%3DLifeExpectancy_Person%26dy%3DCount_Person%26epd%3DEarth%26ept%3DCountry%26dd%3D1" + } + ] + }, + { + "header": "Percentage of population that is college educated vs. CO2 emissions in Domestic Aviation (per capita)", + "preposition": "for countries in", + "examples": [ + { + "text": "Earth", + "url": "#%26svx%3DAnnual_Emissions_CarbonDioxide_FuelCombustionForDomesticAviation%26lx%3D1%26pcx%3D1%26dx%3DCount_Person%26svy%3DCount_Person_25OrMoreYears_BachelorsDegreeOrHigher_AsFractionOf_Count_Person_25OrMoreYears%26dy%3DCount_Person%26epd%3DEarth%26ept%3DCountry%26dd%3D1" + } + ] + }, + { + "header": "Fertility rate vs. CO2 emissions from Power Sector (per capita)", + "preposition": "for countries in", + "examples": [ + { + "text": "Earth", + "url": "#%26svx%3DAnnual_Emissions_CarbonDioxide_Power%26lx%3D1%26pcx%3D1%26dx%3DCount_Person%26svy%3DFertilityRate_Person_Female%26dy%3DCount_Person%26epd%3DEarth%26ept%3DCountry%26dd%3D1" + } + ] + }, + { + "header": "Mobile subscriptions (per capita) vs. Greenhouse gas emissions for Electricity Generation (per capita)", + "preposition": "for countries in", + "examples": [ + { + "text": "Earth", + "url": "#%26svx%3DAnnual_Emissions_GreenhouseGas_ElectricityGenerationFromThermalPowerPlant%26lx%3D1%26pcx%3D1%26dx%3DCount_Person%26svy%3DCount_Product_MobileCellularSubscription_AsFractionOf_Count_Person%26dy%3DCount_Person%26epd%3DEarth%26ept%3DCountry%26dd%3D1" + } + ] + } +] diff --git a/server/templates/custom_dc/climate_trace/timeline_examples.json b/server/templates/custom_dc/climate_trace/timeline_examples.json new file mode 100644 index 0000000000..de352c1965 --- /dev/null +++ b/server/templates/custom_dc/climate_trace/timeline_examples.json @@ -0,0 +1,42 @@ +[ + { + "header": "CO2 emissions in Manufacturing", + "preposition": "for", + "examples": [ + { + "text": "India, China, US", + "url": "#place=country%2FUSA%2Ccountry%2FIND%2Ccountry%2FCHN&statsVar=Annual_Emissions_CarbonDioxide_Manufacturing" + } + ] + }, + { + "header": "CO2 emissions in Steel Manufacturing", + "preposition": "for", + "examples": [ + { + "text": "Japan, China, US, Germany", + "url": "#place=country%2FDEU%2Ccountry%2FGBR%2Ccountry%2FJPN%2Ccountry%2FCHN&statsVar=Annual_Emissions_CarbonDioxide_SteelManufacturing&chart=%7B%22amount%22%3A%7B%22pc%22%3Atrue%7D%7D" + } + ] + }, + { + "header": "CO2 emissions for Road Transportation (per capita)", + "preposition": "for", + "examples": [ + { + "text": "India, China, US, Germany", + "url": "#place=country%2FUSA%2Ccountry%2FIND%2Ccountry%2FCHN%2Ccountry%2FDEU&statsVar=Annual_Emissions_CarbonDioxide_FuelCombustionForRoadVehicles&chart=%7B%22amount%22%3A%7B%22pc%22%3Atrue%7D%7D" + } + ] + }, + { + "header": "CO2 emissions in Power Generation (per capita)", + "preposition": "for", + "examples": [ + { + "text": "India, China, Germany, US, UK", + "url": "#place=country%2FDEU%2Ccountry%2FGBR%2Ccountry%2FJPN%2Ccountry%2FCHN%2Ccountry%2FIND&statsVar=Annual_Emissions_CarbonDioxide_Power&chart=%7B%22amount%22%3A%7B%22pc%22%3Atrue%7D%7D" + } + ] + } +]