└── fable
├── .eslintrc.json
├── .gitignore
├── README.md
├── components
├── emission_reduction_potential.js
├── footer.js
├── fusion_chart.js
├── header.js
├── home.js
├── impacts_synergies.js
├── modal_component.js
└── source_data.js
├── consts
├── 221205_CleanSource.json
├── 221205_TextGWP.docx
├── 221205_TradeOffs.json
├── 221206_BulkDownload.xlsx
├── 221206_MitigationPotential.json
├── 221207_HomePage.json
├── 221212_Readme.json
└── consts.js
├── data.js
├── next.config.js
├── package-lock.json
├── package.json
├── pages
├── _app.js
├── api
│ └── hello.js
└── index.js
├── postcss.config.js
├── public
├── 221206_BulkDownload.xlsx
├── avatar.png
├── avatar2.png
├── background.jpg
├── design.psd
├── dot.png
├── fable_bg1.jpg
├── fable_bg2.jpg
├── favicon.ico
├── img1.png
├── logo_color.png
├── logo_white.png
├── logo_white.psd
├── logo_white2.png
├── logo_white_old.png
├── menu.svg
├── vercel.svg
├── —Pngtree—3d empty transparent hexagonal pattern_7416431.png
├── —Pngtree—golden polygonal world map_7291667.png
└── —Pngtree—world map vector material_2150131.png
├── styles
├── Home.module.css
└── globals.css
├── tailwind.config.js
├── utils
├── exportCSV.js
└── utils.js
└── yarn.lock
/fable/.eslintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "next/core-web-vitals"
3 | }
4 |
--------------------------------------------------------------------------------
/fable/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | /node_modules
5 | /.pnp
6 | .pnp.js
7 |
8 | # testing
9 | /coverage
10 |
11 | # next.js
12 | /.next/
13 | /out/
14 |
15 | # production
16 | /build
17 |
18 | # misc
19 | .DS_Store
20 | *.pem
21 |
22 | # debug
23 | npm-debug.log*
24 | yarn-debug.log*
25 | yarn-error.log*
26 | .pnpm-debug.log*
27 |
28 | # local env files
29 | .env*.local
30 |
31 | # vercel
32 | .vercel
33 |
34 | # typescript
35 | *.tsbuildinfo
36 | next-env.d.ts
37 |
--------------------------------------------------------------------------------
/fable/README.md:
--------------------------------------------------------------------------------
1 | This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
2 |
3 | ## Getting Started
4 |
5 | First, run the development server:
6 |
7 | ```bash
8 | npm run dev
9 | # or
10 | yarn dev
11 | ```
12 |
13 | Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
14 |
15 | You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
16 |
17 | [API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.
18 |
19 | The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
20 |
21 | ## Learn More
22 |
23 | To learn more about Next.js, take a look at the following resources:
24 |
25 | - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
26 | - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
27 |
28 | You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
29 |
30 | ## Deploy on Vercel
31 |
32 | The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
33 |
34 | Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
35 |
--------------------------------------------------------------------------------
/fable/components/emission_reduction_potential.js:
--------------------------------------------------------------------------------
1 | import { useEffect, useState } from "react";
2 | import dynamic from "next/dynamic.js";
3 | import ImpactsAndSynergiesComponent from '../components/impacts_synergies';
4 | import { InformationCircleIcon } from "@heroicons/react/24/outline";
5 | import { ArrowDownTrayIcon } from "@heroicons/react/20/solid";
6 | import { exportToCSV } from "../utils/exportCSV";
7 | import ModalComponent from "./modal_component";
8 | const dataSrc = require("../consts/221206_MitigationPotential.json");
9 | const consts = require("../consts/consts");
10 | import { Scatter } from "react-chartjs-2";
11 | import {
12 | Chart as ChartJS,
13 | LinearScale,
14 | PointElement,
15 | LineElement,
16 | Tooltip,
17 | Legend,
18 | plugins,
19 | Title,
20 | CategoryScale
21 | } from 'chart.js';
22 |
23 | ChartJS.register(LinearScale, PointElement, LineElement, Tooltip, Legend, plugins, Title, CategoryScale);
24 | const FC = dynamic(() => import("./fusion_chart.js"), { ssr: false });
25 | const defaultHeight = 400;
26 |
27 | const EmissionRedcutionPotentialComponent = ({ country }) => {
28 | const [AFOLUSector, setAFOLUSector] = useState(consts.AFOLU_SECTOR_RICE_CULTIVATION);
29 | const [AFOLUSectorList, setAFOLUSectorList] = useState([]);
30 | const [unit, setUnit] = useState(consts.UNIT_CH4_HA);
31 | const [unitList, setUnitList] = useState([]);
32 | const [farmingSystem, setFarmingSystem] = useState(consts.FARMING_SYSTEM_CONVENTIONAL_RICE);
33 | const [farmingSystemList, setFarmingSystemList] = useState([]);
34 |
35 | const [isModalOpen, setIsModalOpen] = useState(false);
36 | const [exportData, setExportData] = useState([]);
37 |
38 | const [scatterData, setScatterData] = useState({
39 | datasets: [],
40 | });
41 | const [option, setOption] = useState([]);
42 | const [chartConfigs, setChartConfigs] = useState({
43 | type: "scatter",
44 | width: "99%",
45 | height: "100%",
46 | dataFormat: "JSON",
47 | containerBackgroundOpacity: "0",
48 |
49 | dataSource: {
50 | numDivLines: "4",
51 | chart: {
52 | caption: `${consts.CAPTION_TEXT_EMISSION_REDUCTION_POTENTIAL}{br} {br}`,
53 | captionFontColor: "#113458",
54 | divLineColor: "#113458",
55 | xAxisNameFontColor: "#ff0000",
56 | xAxisValueFontColor: "#113458",
57 | xAxisNameFontSize: 8,
58 | xAxisValueFontSize: 8,
59 | yAxisNameFontColor: "#113458",
60 | yAxisValueFontColor: "#113458",
61 | legendItemFontColor: "#113458",
62 | legendPosition: "top",
63 | "legendIconBgColor": "#ff0000",
64 | "legendIconAlpha": "50",
65 | "legendIconBgAlpha": "30",
66 | "legendIconBorderColor": "#123456",
67 | "legendIconBorderThickness": "3",
68 |
69 |
70 | yAxisMaxValue: "6000",
71 | yAxisMinValue: "0",
72 | bgColor: "#000000",
73 | bgAlpha: "0",
74 | labelFontSize: "12",
75 | labelFontColor: "#113458",
76 | yaxisname: consts.UNIT_CH4_HA,
77 | plotHighlightEffect: "fadeout|borderColor=ff0000, borderAlpha=50",
78 | interactiveLegend: 0,
79 | numberScaleUnit: ",M,B",
80 | ynumberprefix: "",
81 | xnumbersuffix: "",
82 | // drawCustomLegendIcon: "1",
83 | theme: "fusion",
84 | plottooltext:
85 | "$seriesname : $yDataValue "
86 | },
87 | categories: [
88 | {
89 | category: []
90 | }
91 | ],
92 | dataset: [
93 | {
94 | seriesname: "",
95 | anchorbgcolor: "",
96 | data: []
97 | },
98 | {
99 | seriesname: "",
100 | anchorbgcolor: "",
101 | data: []
102 | }
103 | ]
104 | }
105 | });
106 |
107 | const getAFOLUSectorOptionsList = () => {
108 | // set data for MitigationOption(AFOLU Sector) SelectBox
109 | let afoluSectorArr = [];
110 | afoluSectorArr = dataSrc.map((ele) => {
111 | return ele["AFOLU_Sector"];
112 | }).reduce(
113 | (arr, item) => (arr.includes(item) ? arr : [...arr, item]),
114 | [],
115 | );
116 | setAFOLUSectorList(afoluSectorArr);
117 | }
118 |
119 | const getFarmingSystemOptionsList = () => {
120 | // set data for Unit SelectBox
121 | let farmingSystemArr = [];
122 | farmingSystemArr = dataSrc.filter((ele) => {
123 | return (ele["AFOLU_Sector"] === AFOLUSector)
124 | }).map((ele) => {
125 | return ele["FarmingSystem"];
126 | }).reduce(
127 | (arr, item) => (arr.includes(item) ? arr : [...arr, item]),
128 | [],
129 | );
130 | setFarmingSystem(farmingSystemArr[0]);
131 | setFarmingSystemList(farmingSystemArr);
132 | }
133 |
134 | const getUnitOptionsList = () => {
135 | // set data for Unit SelectBox
136 | let unitArr = [];
137 | unitArr = dataSrc.filter((ele) => {
138 | return (ele["AFOLU_Sector"] === AFOLUSector && ele["FarmingSystem"] === farmingSystem)
139 | }).map((ele) => {
140 | if (ele["AFOLU_Sector"] === AFOLUSector) {
141 | return ele["Unit"];
142 | }
143 | }).reduce(
144 | (arr, item) => (arr.includes(item) ? arr : [...arr, item]),
145 | [],
146 | );
147 | setUnit(unitArr[0]);
148 | setUnitList(unitArr);
149 | }
150 |
151 | useEffect(() => {
152 | getFarmingSystemOptionsList();
153 | }, [AFOLUSector]);
154 |
155 | useEffect(() => {
156 | getUnitOptionsList();
157 | }, [AFOLUSector, farmingSystem]);
158 |
159 | const generateChartData = () => {
160 | getAFOLUSectorOptionsList();
161 | // filter Data for Chart
162 | let data = dataSrc.filter((ele) => {
163 | return (ele["Party"] === country && ele["AFOLU_Sector"] === AFOLUSector && ele["FarmingSystem"] === farmingSystem && ele["Unit"] === unit);
164 | });
165 | setExportData(data);
166 |
167 | let xLabels2 = new Map();
168 | let categoryData = []; // x Axis Label Array
169 | let key = 0;
170 |
171 | let labelArr = [];
172 | labelArr.push("");
173 | data.map((item) => {
174 | if (item["DataSource"] === consts.DATA_SOURCE_FAO || item["DataSource"] === consts.DATA_SOURCE_IPCC) {
175 | if (!xLabels2.has(item["DataSource"])) {
176 | key++;
177 | xLabels2.set(item["DataSource"], key);
178 | categoryData.push({ x: (key * 20).toString(), label: item["DataSource"] });
179 | labelArr.push(item["DataSource"]);
180 | }
181 | }
182 | });
183 | data.map((item) => {
184 | if (!(item["DataSource"] === consts.DATA_SOURCE_FAO || item["DataSource"] === consts.DATA_SOURCE_IPCC)) {
185 | if (!xLabels2.has(item["MitigationOption"])) {
186 | key++;
187 | xLabels2.set(item["MitigationOption"], key);
188 | categoryData.push({ x: (key * 20).toString(), label: item["MitigationOption"] });
189 | labelArr.push(item["MitigationOption"]);
190 | }
191 | }
192 | });
193 | labelArr.push("");
194 | // let dataArrForMax = [];
195 | // let dataArrForMin = [];
196 | // let dataArrForMedian = [];
197 | // let dataArrForAverage = [];
198 | // let dataArrForHistorical = [];
199 |
200 | let scatterDataArrForMax = [];
201 | let scatterDataArrForMin = [];
202 | let scatterDataArrForMedian = [];
203 | let scatterDataArrForAverage = [];
204 | let scatterDataArrForHistorical = [];
205 |
206 | let yMax = 0;
207 | if (data.length > 0) {
208 | yMax = data[0]["Max_y"];
209 | }
210 | data.map((ele) => {
211 | if (ele["DataSource"] === consts.DATA_SOURCE_FAO || ele["DataSource"] === consts.DATA_SOURCE_IPCC) {
212 | let xValue = categoryData.find((e) => {
213 | return e["label"] == ele["DataSource"];
214 | })["x"];
215 | // dataArrForHistorical.push({ x: xValue, y: ele["Historical"] });
216 | scatterDataArrForHistorical.push({ x: ele["DataSource"], y: ele["Historical"] });
217 | } else {
218 | let xValue = categoryData.find((e) => {
219 | return e["label"] == ele["MitigationOption"];
220 | })["x"];
221 | if (ele["Max"]) {
222 | // dataArrForMax.push({ x: xValue, y: ele["Max"] });
223 | scatterDataArrForMax.push({ x: ele["MitigationOption"], y: ele["Max"] });
224 | }
225 | if (ele["Min"]) {
226 | // dataArrForMin.push({ x: xValue, y: ele["Min"] });
227 | scatterDataArrForMin.push({ x: ele["MitigationOption"], y: ele["Min"] });
228 | }
229 | if (ele["Median"]) {
230 | // dataArrForMedian.push({ x: xValue, y: ele["Median"] });
231 | scatterDataArrForMedian.push({ x: ele["MitigationOption"], y: ele["Median"] });
232 | }
233 | if (ele["Average"]) {
234 | // dataArrForAverage.push({ x: xValue, y: ele["Average"] });
235 | scatterDataArrForAverage.push({ x: ele["MitigationOption"], y: ele["Average"] });
236 | }
237 | }
238 | });
239 |
240 | let datasetsArr = [];
241 | datasetsArr.push({
242 | label: 'Historical',
243 | data: scatterDataArrForHistorical,
244 | pointRadius: 6,
245 | pointStyle: 'rect',
246 | backgroundColor: consts.colors[4]
247 | });
248 | datasetsArr.push({
249 | label: 'Max',
250 | data: scatterDataArrForMax,
251 | pointRadius: 7,
252 | pointStyle: 'triangle',
253 | backgroundColor: consts.colors[0]
254 | });
255 | datasetsArr.push({
256 | label: 'Min',
257 | data: scatterDataArrForMin,
258 | pointRadius: 7,
259 | pointStyle: 'triangle',
260 | rotation: 180,
261 | backgroundColor: consts.colors[1]
262 | });
263 | datasetsArr.push({
264 | label: 'Average',
265 | data: scatterDataArrForAverage,
266 | pointRadius: 6,
267 | pointStyle: 'circle',
268 | backgroundColor: consts.colors[2]
269 | });
270 | datasetsArr.push({
271 | label: 'Median',
272 | data: scatterDataArrForMedian,
273 | pointRadius: 7,
274 | pointStyle: 'rectRot',
275 | backgroundColor: consts.colors[3]
276 | });
277 |
278 | setScatterData({ labels: labelArr, datasets: datasetsArr });
279 | setOption({
280 | plugins: {
281 | title: {
282 | display: true,
283 | text: consts.CAPTION_TEXT_EMISSION_REDUCTION_POTENTIAL,
284 | color: "#113458",
285 | font: {
286 | size: 18,
287 | family: 'Arial',
288 | },
289 | },
290 | subtitle: {
291 | text: consts.UNIT_CH4_HA,
292 | display: true,
293 | color: "#113458",
294 | position: "left",
295 | font: {
296 | size: 16,
297 | family: 'Arial',
298 | },
299 | },
300 | legend: {
301 | display: true,
302 | labels: {
303 | usePointStyle: true,
304 | },
305 | },
306 | datalabels: {
307 | display: false,
308 | },
309 | tooltip: {
310 | callbacks: {
311 | title: function () {
312 | return "";
313 | },
314 | label: function (context) {
315 | var dataset = context.dataset;
316 | return dataset.label + ': ' + context.raw.y;
317 | },
318 | },
319 | backgroundColor: 'white',
320 | bodyColor: 'black',
321 | boxPadding: 5,
322 | }
323 | },
324 | scales: {
325 | x: {
326 | type: 'category',
327 | }
328 | }
329 | });
330 |
331 | // setChartConfigs({
332 | // ...chartConfigs, dataSource: {
333 | // ...chartConfigs.dataSource,
334 | // chart: {
335 | // ...chartConfigs.dataSource.chart,
336 | // yAxisMaxValue: yMax,
337 | // },
338 | // categories: [{ category: categoryData }],
339 | // dataset: dataArrForHistorical.length > 0 ?
340 | // [
341 | // {
342 | // seriesname: "Max", anchorbgcolor: consts.colors[0], data: dataArrForMax, anchorstartangle: 270, anchorsides: 3, anchorradius: 8, legendIconAlpha: 100,
343 | // legendIconBorderColor: "#ff0000", legendIconSides: "3"
344 | // },
345 | // { seriesname: "Min", anchorbgcolor: consts.colors[1], data: dataArrForMin, anchorsides: 3, anchorradius: 8, legendIconAlpha: 100 },
346 | // { seriesname: "Average", anchorbgcolor: consts.colors[2], data: dataArrForAverage, anchorsides: 2, anchorradius: 6, legendIconAlpha: 100 },
347 | // { seriesname: "Median", anchorbgcolor: consts.colors[3], data: dataArrForMedian, anchorsides: 4, anchorradius: 5, legendIconAlpha: 100 },
348 | // { seriesname: "Historical", anchorbgcolor: consts.colors[4], data: dataArrForHistorical, anchorsides: 5, anchorradius: 5, legendIconAlpha: 100 }
349 | // ] :
350 | // [
351 | // { seriesname: "Max", anchorbgcolor: consts.colors[0], data: dataArrForMax, anchorstartangle: 270, anchorsides: 3, anchorradius: 8, legendIconAlpha: 100 },
352 | // { seriesname: "Min", anchorbgcolor: consts.colors[1], data: dataArrForMin, anchorsides: 3, anchorradius: 8, legendIconAlpha: 100 },
353 | // { seriesname: "Average", anchorbgcolor: consts.colors[2], data: dataArrForAverage, anchorsides: 2, anchorradius: 6, legendIconAlpha: 100 },
354 | // { seriesname: "Median", anchorbgcolor: consts.colors[3], data: dataArrForMedian, anchorsides: 4, anchorradius: 5, legendIconAlpha: 100 },
355 | // ]
356 | // }
357 | // });
358 | }
359 |
360 | useEffect(() => {
361 | generateChartData();
362 | }, []);
363 |
364 | useEffect(() => {
365 | generateChartData();
366 | }, [country, AFOLUSector, farmingSystem, unit]);
367 |
368 | useEffect(() => {
369 | setOption(prev => {
370 | return {
371 | ...prev,
372 | plugins: {
373 | ...prev.plugins,
374 | subtitle: {
375 | ...prev.plugins.subtitle,
376 | text: unit
377 | }
378 | }
379 | }
380 | })
381 | // setChartConfigs(prev => {
382 | // return {
383 | // ...prev,
384 | // dataSource:
385 | // {
386 | // ...prev.dataSource,
387 | // chart: {
388 | // ...prev.dataSource.chart,
389 | // yaxisname: unit
390 | // }
391 | // }
392 | // };
393 | // })
394 | }, [unit]);
395 |
396 | const openModal = () => {
397 | setIsModalOpen(true);
398 | }
399 |
400 | const closeModal = () => {
401 | setIsModalOpen(false);
402 | }
403 |
404 | const unitChange = (e) => {
405 | setUnit(e.target.value);
406 | }
407 |
408 | const afoluSectorOptionChange = (e) => {
409 | setAFOLUSector(e.target.value);
410 | }
411 |
412 | const farmingSystemChange = (e) => {
413 | setFarmingSystem(e.target.value);
414 | }
415 |
416 | const downloadData = () => {
417 | let fileName = new Date();
418 | let data = exportData.map((ele) => {
419 | return {
420 | Party: ele["Party"],
421 | DataSource: ele["DataSource"],
422 | AFOLU_Sector: ele["AFOLU_Sector"],
423 | FarmingSystem: ele["FarmingSystem"],
424 | Unit: ele["Unit"],
425 | MitigationOption: ele["MitigationOption"],
426 | Mitig_Option_FullName: ele["Mitig_Option_FullName"],
427 | Min: ele["Min"],
428 | Max: ele["Max"],
429 | Median: ele["Median"],
430 | Average: ele["Average"],
431 | Historical: ele["Historical"],
432 | };
433 | })
434 | fileName = fileName.getFullYear() + "-" + (fileName.getMonth() + 1) + "-" + fileName.getDate() + " " +
435 | fileName.getHours() + ":" + fileName.getMinutes() + ":" + fileName.getSeconds();
436 | exportToCSV(data, fileName);
437 | }
438 |
439 | const modalContent = <>
440 |
8 | {/*
*/}
9 |
10 | Contact Us
11 |
12 |
13 | Get in touch with us at info.fable@unsdsn.org to point us to analysis from scientific papers or grey literature that could enrich our mitigation options database.
14 |
15 |
16 |
17 | >
18 | )
19 | }
--------------------------------------------------------------------------------
/fable/components/fusion_chart.js:
--------------------------------------------------------------------------------
1 | import FusionCharts from "fusioncharts";
2 | import Charts from "fusioncharts/fusioncharts.charts";
3 | import ReactFC from "react-fusioncharts";
4 | import FusionTheme from "fusioncharts/themes/fusioncharts.theme.fusion";
5 |
6 | ReactFC.fcRoot(FusionCharts, Charts, FusionTheme);
7 |
8 | export default function NextFC({ chartConfigs }) {
9 |
10 | const onClick = (eventObj) => {
11 | var senderChart = eventObj.sender; // chart/ map on which event triggered
12 | }
13 |
14 | return (
15 | <>
16 |
17 | >
18 | );
19 | }
--------------------------------------------------------------------------------
/fable/components/header.js:
--------------------------------------------------------------------------------
1 | import { useEffect } from "react";
2 | import { Link } from 'react-scroll'
3 | import { Menu, Transition, Fragment } from "@headlessui/react";
4 | import { ChevronDownIcon } from "@heroicons/react/20/solid"
5 |
6 | const Header = ({}) => {
7 | useEffect(() => {
8 |
9 | })
10 | return (
11 | <>
12 |
13 |
14 |
20 |
21 |
22 |
23 | Menu
24 |
28 |
29 |
38 |
39 |
40 |
41 | {({ active }) => (
42 |
43 |
47 | Home
48 |
49 | )}
50 |
51 |
52 | {({ active }) => (
53 |
57 | Emission Reduction Potential
58 |
59 | )}
60 |
61 |
62 | {({ active }) => (
63 |
67 | Impacts & Synergies
68 |
69 | )}
70 |
71 |
72 | {({ active }) => (
73 |
77 | Source Data
78 |
79 | )}
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 | {/*
*/}
88 |
89 |
90 |
92 | Home
93 |
94 |
95 |
96 |
98 | Emission Reduction Potential
99 |
100 |
101 |
102 |
104 | Impacts & Synergies
105 |
106 |
107 |
108 |
110 | Source Data
111 |
112 |
113 |
114 |
115 |
116 | >
117 | )
118 | }
119 |
120 | export default Header;
--------------------------------------------------------------------------------
/fable/components/home.js:
--------------------------------------------------------------------------------
1 | import { useEffect, useState } from "react";
2 | import dynamic from "next/dynamic.js";
3 | import { exportToCSV } from "../utils/exportCSV";
4 | import { ArrowDownTrayIcon } from "@heroicons/react/20/solid";
5 | import { InformationCircleIcon } from "@heroicons/react/24/outline";
6 | import ModalComponent from "./modal_component";
7 |
8 | import { Doughnut } from "react-chartjs-2";
9 | import { Chart as ChartJS, ArcElement, Tooltip, Legend, Title, plugins } from 'chart.js';
10 | import ChartDataLabels from 'chartjs-plugin-datalabels';
11 |
12 | const dataSrc = require("../consts/221207_HomePage.json");
13 | const consts = require("../consts/consts");
14 | const utils = require("../utils/utils");
15 |
16 | const FC = dynamic(() => import("./fusion_chart.js"), { ssr: false });
17 | ChartJS.register(ArcElement, Tooltip, Legend, Title, plugins, ChartDataLabels);
18 |
19 | const HomeComponent = ({ country }) => {
20 | const [AFOLUData, setAFOLUData] = useState([]);
21 | const [exportData, setExportData] = useState([]);
22 | const [height1, setHeight1] = useState(120);
23 | const [height2, setHeight2] = useState(150);
24 | const [gwp, setGWP] = useState(consts.AR_5);
25 |
26 | const [dataSource, setDataSource] = useState(consts.DATA_SOURCE_UNFCCC);
27 | const [year, setYear] = useState(1994);
28 | const [yearList, setYearList] = useState([]);
29 | const [gwpList, setGwpList] = useState([]);
30 | const [dataSourceList, setDataSourceList] = useState([]);
31 | const [isModalOpen, setIsModalOpen] = useState(false);
32 | const [isGWPModalOpen, setIsGWPModalOpen] = useState(false);
33 |
34 | const [options, setOptions] = useState([]);
35 | const [doughnutData, setDoughnutData] = useState({
36 | labels: [],
37 | datasets: [
38 | {
39 | label: '',
40 | data: [],
41 | backgroundColor: [],
42 | borderColor: [],
43 | borderWidth: 1,
44 | },
45 | ],
46 | });
47 |
48 | // const [chartConfigs, setChartConfigs] = useState({
49 | // type: "doughnut2d",
50 | // width: "99%",
51 | // height: "100%",
52 | // dataFormat: "JSON",
53 | // containerBackgroundOpacity: "0",
54 | // dataSource: {
55 | // chart: {
56 | // baseFont: "Arial",
57 | // caption: "",
58 | // pieRadius: "120",
59 | // captionFontColor: "#113458",
60 | // captionFontSize: "18",
61 | // captionFontBold: "0",
62 | // subCaptionFontColor: "#113458",
63 | // subCaptionFontSize: "16",
64 | // loadMessageColor: "#ff0000",
65 | // divLineColor: "#113458",
66 | // chartTopMargin: "30",
67 | // bgColor: "#000000",
68 | // bgAlpha: "0",
69 | // labelFontSize: "12",
70 | // labelFontColor: "#113458",
71 | // smartLineColor: "#113458",
72 | // legendItemFontColor: "#113458",
73 | // labelDistance: 10,
74 | // legendCaptionFontColor: "#ff0000",
75 | // defaultcenterlabel: "",
76 | // defaultcenterlabelColor: "#113458",
77 | // tooltipBorderRadius: "10",
78 | // skipOverlapLabels: "1",
79 | // label: "",
80 | // plottooltext: "
$value Mt CO2e from the
$label sector",
81 | // link: "#ff0000",
82 | // showLegend: "0",
83 | // startingAngle: "30",
84 | // enableSlicing: "0",
85 | // decimals: "1",
86 | // // showLabels: "0",
87 | // // showValues: "0",
88 | // theme: "fusion"
89 | // },
90 | // data: []
91 | // }
92 | // });
93 |
94 | useEffect(() => {
95 | getYearOptionList();
96 | getGWPOptionList();
97 | getDataSoruceOptionList();
98 | }, [country]);
99 |
100 | useEffect(() => {
101 | getYearOptionList();
102 | }, [dataSource]);
103 |
104 | useEffect(() => {
105 | filterData();
106 | }, [dataSource, year, gwp, country]);
107 |
108 | const getYearOptionList = () => {
109 | // get year list
110 | let yearArr = [];
111 | yearArr = dataSrc.filter((ele) => {
112 | return ele["DataSource"] === dataSource;
113 | }).map((ele) => {
114 | return ele["Year"];
115 | }).reduce(
116 | (arr, item) => (arr.includes(item) ? arr : [...arr, item]),
117 | [],
118 | );
119 | yearArr = yearArr.sort((a, b) => {
120 | if (a > b)
121 | return 1;
122 | else return -1;
123 | })
124 | setYear(yearArr[0]);
125 | setYearList(yearArr);
126 | }
127 |
128 | const getGWPOptionList = () => {
129 | // get gwp list
130 | let gwpArr = [];
131 | gwpArr = dataSrc.map((ele) => {
132 | return ele["AR"];
133 | }).reduce(
134 | (arr, item) => (arr.includes(item) ? arr : [...arr, item]), [],
135 | );
136 | setGWP(gwpArr[0]);
137 | setGwpList(gwpArr);
138 | }
139 |
140 | const getDataSoruceOptionList = () => {
141 | // get dataSource list
142 | let dataSourceArr = [];
143 | dataSourceArr = dataSrc.map((ele) => {
144 | return ele["DataSource"];
145 | }).reduce(
146 | (arr, item) => (arr.includes(item) ? arr : [...arr, item]),
147 | [],
148 | );
149 | setDataSource(dataSourceArr[0]);
150 | setDataSourceList(dataSourceArr);
151 | }
152 |
153 | const filterData = () => {
154 | let data = dataSrc.filter((ele) => {
155 | return (ele["Party"] === country && ele["DataSource"] === dataSource && parseInt(ele["Year"]) === parseInt(year) && ele["AR"] === gwp);
156 | });
157 | setExportData(data);
158 |
159 | let afoluData = data.filter((ele) => {
160 | return (ele["Category"] === consts.CATEGORY_AFOLU);
161 | })
162 | setAFOLUData(afoluData);
163 |
164 | let set = new Set();
165 | let arr = [];
166 | let i = 0;
167 | let subCaptionStr = "No Data to Display";
168 |
169 | /* ****************************** */
170 | let labelArr = [];
171 | let dataArr = [];
172 | let percentArr = [];
173 | let backgroundColorArr = [];
174 | let borderColorArr = [];
175 | let dataItem = {};
176 | //////////////////////////////////
177 |
178 | data.forEach((item) => {
179 | let tmpItem = new Object();
180 | tmpItem["label"] = item["Category"];
181 | tmpItem["value"] = utils.numberFormat(item["EmissionCategoryMtCO2e"]);
182 | tmpItem["percentValue"] = (utils.numberFormat(item["EmissionCategoryMtCO2e"]) / utils.numberFormat(item["TotalEmissionsMtCO2e"]) * 100).toFixed(2);
183 | tmpItem["color"] = item["HEX_Donut"];
184 | if (!set.has(item["Category"])) {
185 | set.add(item["Category"]);
186 | arr.push(tmpItem);
187 |
188 | /* ****************************** */
189 | labelArr.push(item["Category"]);
190 | dataArr.push(utils.numberFormat(item["EmissionCategoryMtCO2e"]));
191 | percentArr.push((utils.numberFormat(item["EmissionCategoryMtCO2e"]) / utils.numberFormat(item["TotalEmissionsMtCO2e"]) * 100).toFixed(2));
192 | backgroundColorArr.push(item["HEX_Donut"]);
193 | borderColorArr.push(item["HEX_Donut"]);
194 | //////////////////////////////////
195 |
196 | }
197 | i++;
198 | })
199 | let captionStr = `
${country}'s Total GHG emissions in ${year} {br}`;
200 |
201 | let title = `${country}'s Total GHG emissions in ${year}`;
202 | let title2 = '';
203 | let subTitle = '';
204 |
205 | if (data.length > 0) {
206 | captionStr += data[0]["TotalEmissionsMtCO2e"] + ` Mt CO2e`;
207 | subCaptionStr = "{br}" + data[0]["TotalEmissionsCapitatCO2e_cap"] + " t CO2e/cap";
208 |
209 | title2 = data[0]["TotalEmissionsMtCO2e"] + ` Mt CO2e`;
210 | subTitle = data[0]["TotalEmissionsCapitatCO2e_cap"] + " t CO2e/cap";
211 | }
212 |
213 | // setChartConfigs({
214 | // ...chartConfigs, dataSource: {
215 | // ...chartConfigs.dataSource,
216 | // data: arr,
217 | // chart: { ...chartConfigs.dataSource.chart, caption: captionStr, subCaption: subCaptionStr }
218 | // }
219 | // });
220 |
221 | /* ****************************** */
222 | dataItem = {
223 | percent: percentArr,
224 | data: dataArr,
225 | backgroundColor: backgroundColorArr,
226 | borderColor: borderColorArr,
227 | datalabels: {
228 | color: '#113458',
229 | anchor: 'end',
230 | },
231 | }
232 | let ttt = {
233 | labels: labelArr,
234 | datasets: [dataItem]
235 | }
236 |
237 |
238 | setOptions({
239 | layout: {
240 | padding: 10
241 | },
242 | plugins: {
243 | legend: {
244 | display: false,
245 | position: "bottom",
246 | padding: {
247 | top: 20
248 | },
249 | labels: {
250 | usePointStyle: true,
251 | pointStyle: 'circle'
252 | }
253 | },
254 | title: {
255 | display: true,
256 | text: [title],
257 | color: "#113458",
258 | font: {
259 | size: 18,
260 | family: 'Arial',
261 | },
262 | padding: {
263 | top: 20
264 | }
265 | },
266 | subtitle: {
267 | display: true,
268 | text: [title2, ' ', subTitle],
269 | color: "#113458",
270 | // fontSize: [16, 14],
271 | font: {
272 | size: 18,
273 | family: 'Arial',
274 | },
275 | padding: {
276 | bottom: 10
277 | }
278 | },
279 | datalabels: {
280 | display: true,
281 | formatter: function (value, context) {
282 | return context.chart.data.labels[context.dataIndex] + ', ' +
283 | context.chart.data.datasets[0].percent[context.dataIndex] + '%';
284 | },
285 | },
286 | tooltip: {
287 | callbacks: {
288 | label: function (tooltipItem) {
289 | var dataset = tooltipItem.dataset;
290 | var index = tooltipItem.dataIndex;
291 | return dataset.data[index] + ' Mt CO2e from the ' + tooltipItem.label + ' sector';
292 | },
293 | },
294 | backgroundColor: 'white',
295 | bodyColor: 'black',
296 | titleColor: "black",
297 | boxPadding: 5
298 | }
299 | },
300 | })
301 |
302 | setDoughnutData(ttt);
303 | /* ****************************** */
304 |
305 | }
306 |
307 | useEffect(() => {
308 | if (AFOLUData.length) {
309 | setHeight2(height1 / utils.numberFormat(AFOLUData[0]["TotalAFOLUEmissionsMtCO2e"]) *
310 | Math.abs(utils.numberFormat(AFOLUData[0]["TotalAFOLURemovalsMtCO2e"])));
311 | }
312 | }, [AFOLUData]);
313 |
314 | const openModal = () => {
315 | setIsModalOpen(true);
316 | }
317 |
318 | const closeModal = () => {
319 | setIsModalOpen(false);
320 | }
321 |
322 | const openGWPModal = () => {
323 | setIsGWPModalOpen(true);
324 | }
325 |
326 | const closeGWPModal = () => {
327 | setIsGWPModalOpen(false);
328 | }
329 |
330 |
331 | const dataSourceChange = (e) => {
332 | setDataSource(e.target.value);
333 | }
334 |
335 | const yearChange = (e) => {
336 | setYear(e.target.value);
337 | }
338 |
339 | const gwpChange = (e) => {
340 | setGWP(e.target.value);
341 | }
342 |
343 | const downloadData = () => {
344 | let fileName = new Date();
345 | let data = exportData.map((ele) => {
346 | return {
347 | Party: ele["Party"],
348 | DataSource: ele["DataSource"],
349 | Category: ele["Category"],
350 | SubCategory: ele["SubCategory"],
351 | AR: ele["AR"],
352 | Year: ele["Year"],
353 | TotalEmissionsMtCO2e: ele["TotalEmissionsMtCO2e"],
354 | EmissionCategoryMtCO2e: ele["EmissionCategoryMtCO2e"],
355 | TotalEmissionsCapitatCO2e_cap: ele["TotalEmissionsCapitatCO2e_cap"],
356 | Population: ele["Population"],
357 | TotalAFOLUEmissionsMtCO2e: ele["TotalAFOLUEmissionsMtCO2e"],
358 | TotalAFOLURemovalsMtCO2e: ele["TotalAFOLURemovalsMtCO2e"],
359 | TotalNetAFOLUMtCO2e: ele["TotalNetAFOLUMtCO2e"],
360 | AFOLURemovalsMtCO2e: ele["AFOLURemovalsMtCO2e"],
361 | AFOLUEmissionsMtCO2e: ele["AFOLUEmissionsMtCO2e"]
362 | };
363 | })
364 | fileName = fileName.getFullYear() + "-" + (fileName.getMonth() + 1) + "-" + fileName.getDate() + " " +
365 | fileName.getHours() + ":" + fileName.getMinutes() + ":" + fileName.getSeconds();
366 | exportToCSV(data, fileName);
367 | }
368 |
369 | const gwpModalContent = <>
370 |
371 | {consts.TEXT_GWP}
{consts.TEXT_GWP2}
{consts.TEXT_GWP3}
372 |
373 |
374 |
375 | {consts.MODAL_TITLE_GREENHOUSE_GAS}
376 | {consts.MODAL_TITLE_SAR}
377 | {consts.MODAL_TITLE_AR3}
378 | {consts.MODAL_TITLE_AR4}
379 | {consts.MODAL_TITLE_AR5}
380 |
381 |
382 |
383 |
384 | {consts.MODAL_TEXT_CO2}
385 | 1
386 | 1
387 | 1
388 | 1
389 |
390 |
391 | {consts.MODAL_TEXT_CH4}
392 | 21
393 | 23
394 | 25
395 | 28
396 |
397 |
398 | {consts.MODAL_TEXT_N2O}
399 | 310
400 | 296
401 | 298
402 | 265
403 |
404 |
405 |
406 |
{consts.TEXT_GWP4}
{consts.TEXT_GWP5}
407 |
408 | >
409 | const modalContent = <>
410 |
411 |
Summary: Overview of historical country-level and sectoral GHG emissions data with detailed AFOLU sector GHG emissions data (1990-2019)
412 |
413 | Two sets of data sources is available:
414 | If you select UNFCCC, the historical country-level sectoral GHG emissions from the GHG inventory (UNFCCC) are presented in the donut chart together with their detailed subcategories for the AFOLU sector in the bar chart. The years available depend on the frequency of biennial update reports.
415 | If you select FAO, the historical country-level sectoral GHG emissions from Climate Watch Historical Country Greenhouse Gas Emissions Data are presented in the donut chart in the donut chart together with detailed subcategories for the AFOLU sector from the FAO in the bar chart. This time series span from 1990 to 2019 for all countries.
416 |
417 |
422 |
423 | >
424 |
425 | return (
426 | <>
427 |
428 |
429 |
430 |
431 | {consts.MODAL_TITLE_OVERVIEW}
432 |
433 |
434 |
435 |
436 |
437 | Year :
438 |
439 | {
440 | yearList.map((item, idx) => (
441 | {item}
442 | ))
443 | }
444 |
445 |
446 |
447 |
448 |
453 |
454 |
458 |
459 |
460 |
461 |
462 | GWP :
463 |
464 | {
465 | gwpList.map((arItem, idx) => (
466 | {arItem}
467 | ))
468 | }
469 |
470 |
471 |
472 |
473 |
474 | Data Source :
475 |
476 | {
477 | dataSourceList.map((dataSrcItem, idx) => (
478 | {dataSrcItem}
479 | ))
480 | }
481 |
482 |
483 |
484 |
489 |
490 |
494 |
495 |
496 |
497 |
498 |
499 |
500 | Download Data
501 |
502 |
506 |
507 |
508 |
509 |
510 |
511 |
512 |
513 | {exportData.length ?
514 |
{exportData[0]["TextParagraph1"]} {exportData[0]["TextParagraph2"]}
:
515 |
No Data to Display }
516 |
517 |
518 |
519 | Data Source :
520 |
521 | {
522 | consts.DATA_SOURCE_LIST.map((dataSrcItem, idx) => (
523 | {dataSrcItem}
524 | ))
525 | }
526 |
527 |
528 |
529 |
530 | {/*
*/}
531 | {doughnutData ?
:
532 | <>
533 |
534 | No Data to Display!
535 |
536 | >
537 | }
538 | {/* {exportData.length ?
:
539 | <>
540 |
541 | No Data to Display!
542 |
543 | >
544 | } */}
545 |
546 |
547 |
548 | Data Source :
549 |
550 | {
551 | consts.DATA_SOURCE_LIST.map((dataSrcItem, idx) => (
552 | {dataSrcItem}
553 | ))
554 | }
555 |
556 |
557 |
558 |
559 | {AFOLUData.length > 0 ?
560 | <>
561 | {utils.numberFormat(AFOLUData[0]["TotalAFOLUEmissionsMtCO2e"]) > 0 ?
562 | <>
563 |
564 | AFOLU Sector
565 |
566 |
567 | Total Net: {AFOLUData[0]["TotalNetAFOLUMtCO2e"]} Mt CO2e
568 |
569 |
570 | {/* AFOLU Emissions Section */}
571 |
572 |
AFOLU Emissions
573 |
574 | {AFOLUData[0]["TotalAFOLUEmissionsMtCO2e"]} Mt CO2e
575 |
576 |
577 | {
578 | AFOLUData.map((item, idx) => (
579 |
580 | {(utils.numberFormat(item["AFOLUEmissionsMtCO2e"]) > 0) ?
581 |
582 | {(height1 * utils.numberFormat(item["AFOLUEmissionsMtCO2e"]) / utils.numberFormat(item["TotalAFOLUEmissionsMtCO2e"])).toFixed(2) > 20 ? {utils.numberFormat(item["AFOLUEmissionsMtCO2e"])} : ""}
583 |
584 | : ""
585 | }
586 |
587 | ))
588 | }
589 |
590 |
591 |
592 | {/* AFOLU Removals Section */}
593 |
594 | {AFOLUData[0]["TotalAFOLURemovalsMtCO2e"] != 0 ?
595 | <>
596 |
AFOLU Removals
597 |
598 | {AFOLUData[0]["TotalAFOLURemovalsMtCO2e"]} Mt CO2e
599 |
600 |
601 | {
602 | AFOLUData.map((item, idx) => (
603 |
604 | {(utils.numberFormat(Math.abs(item["AFOLURemovalsMtCO2e"])) > 0) ?
605 |
606 | {Math.abs((height2 * utils.numberFormat(item["AFOLURemovalsMtCO2e"]) / utils.numberFormat(item["TotalAFOLURemovalsMtCO2e"])).toFixed(2)) > 20 ? {item["AFOLURemovalsMtCO2e"]} : ""}
607 |
608 | : ""
609 | }
610 |
611 | ))
612 | }
613 |
614 |
615 | > :
616 | ""
617 | }
618 |
619 |
620 | {/* Legend for AFOLU Emissions */}
621 |
622 | {
623 | AFOLUData.map((item, idx) => (
624 |
625 | {(utils.numberFormat(item["AFOLUEmissionsMtCO2e"]) > 0) ?
626 |
627 |
628 |
629 |
{item["SubCategory"]}
630 |
631 | : ""
632 | }
633 |
634 | ))
635 | }
636 |
637 |
638 | {/* Legend for AFOLU Removals */}
639 | {AFOLUData[0]["TotalAFOLURemovalsMtCO2e"] != 0 ?
640 | <>
641 |
642 | {
643 | AFOLUData.map((item, idx) => (
644 |
645 | {(utils.numberFormat(item["AFOLURemovalsMtCO2e"]) != 0) ?
646 |
647 |
648 |
649 |
{item["SubCategory"]}
650 |
651 | : ""
652 | }
653 |
654 | ))
655 | }
656 |
657 | > :
658 | ""
659 | }
660 | > :
661 | <>
662 |
No AFOLU Data
663 | >
664 | }
665 | >
666 | :
667 |
668 | No Data to Display!
669 |
670 | }
671 |
672 |
673 |
674 |
675 | >
676 | )
677 | }
678 |
679 | export default HomeComponent;
--------------------------------------------------------------------------------
/fable/components/impacts_synergies.js:
--------------------------------------------------------------------------------
1 | import { useEffect, useState } from "react";
2 | import dynamic from "next/dynamic.js";
3 | import { ArrowDownTrayIcon, ArrowDownIcon, ArrowUpIcon, ArrowLongRightIcon } from "@heroicons/react/20/solid";
4 | import { InformationCircleIcon } from "@heroicons/react/24/outline";
5 | import ModalComponent from "./modal_component";
6 | import SourceDataComponent from '../components/source_data';
7 | import { exportToCSV } from "../utils/exportCSV";
8 |
9 | const FC = dynamic(() => import("./fusion_chart.js"), { ssr: false });
10 | const consts = require("../consts/consts");
11 | const dataSrc = require("../consts/221205_TradeOffs.json");
12 |
13 | const ImpactsAndSynergiesComponent = ({ country, AFOLUSector, farmingSystem }) => {
14 | const [mitigationOption, setMitigationOption] = useState(consts.MITIGATION_OPTION_TSWD);
15 | const [mitigationOptionList, setMitigationOptionList] = useState([]);
16 | const [exportData, setExportData] = useState([]);
17 | const [isModalOpen, setIsModalOpen] = useState(false);
18 |
19 | useEffect(() => {
20 | getMitigationOptionsList();
21 | generateChartData();
22 | }, [country, AFOLUSector, farmingSystem,]);
23 |
24 | useEffect(() => {
25 | generateChartData();
26 | }, [mitigationOption]);
27 |
28 | const getMitigationOptionsList = () => {
29 | // set data for Unit SelectBox
30 | let mitigationOptionArr = [];
31 | mitigationOptionArr = dataSrc.filter((ele) => {
32 | return (ele["AFOLU_Sector"] === AFOLUSector && ele["FarmingSystem"] === farmingSystem)
33 | }).map((ele) => {
34 | if (ele["AFOLU_Sector"] === AFOLUSector) {
35 | return ele["Mitig_Option"];
36 | }
37 | }).reduce(
38 | (arr, item) => (arr.includes(item) ? arr : [...arr, item]),
39 | [],
40 | );
41 | setMitigationOption(mitigationOptionArr[0]);
42 | setMitigationOptionList(mitigationOptionArr);
43 | }
44 |
45 | const generateChartData = async () => {
46 |
47 | //Filter Data with Select
48 | let data = dataSrc.filter((ele) => {
49 | return (ele["Country"] === country && ele["Mitig_Option"] === mitigationOption && ele["AFOLU_Sector"] === AFOLUSector && ele["FarmingSystem"] === farmingSystem);
50 | });
51 | setExportData(data);
52 | }
53 |
54 | const openModal = () => {
55 | setIsModalOpen(true);
56 | }
57 |
58 | const closeModal = () => {
59 | setIsModalOpen(false);
60 | }
61 |
62 | const mitigationOptionChange = (e) => {
63 | setMitigationOption(e.target.value);
64 | }
65 |
66 | const downloadData = () => {
67 | let fileName = new Date();
68 | let data = exportData.map((ele) => {
69 | return {
70 | Country: ele["Country"],
71 | AFOLU_Sector: ele["AFOLU_Sector"],
72 | FarmingSystem: ele["FarmingSystem"],
73 | Mitig_Option: ele["Mitig_Option"],
74 | Mitig_Option_FullName: ele["Mitig_Option_FullName"],
75 | NonGHGIndicator: ele["NonGHGIndicator"],
76 | Magnitude: ele["Magnitude"],
77 | };
78 | })
79 | fileName = fileName.getFullYear() + "-" + (fileName.getMonth() + 1) + "-" + fileName.getDate() + " " +
80 | fileName.getHours() + ":" + fileName.getMinutes() + ":" + fileName.getSeconds();
81 | exportToCSV(data, fileName);
82 | }
83 |
84 | const getIcon = (value) => {
85 | switch (value) {
86 | case 1:
87 | return (
88 |
92 | );
93 | case 2:
94 | return (
95 |
98 | );
99 | case 3:
100 | return (
101 |
);
104 | case 4:
105 | return (
106 |
109 | );
110 | case 5:
111 | return (
112 |
116 | );
117 | case undefined:
118 | return (
NA
);
119 | }
120 | }
121 |
122 | const modalContent = <>
123 |
124 |
125 |
126 |
127 | {consts.MODAL_TABLE_HEADER_MAGNITUDE}
128 | {consts.MODAL_TABLE_HEADER_SYMBOL}
129 | {consts.MODAL_TABLE_HEADER_DEFINITION}
130 |
131 |
132 |
133 |
134 | 1
135 |
136 |
137 |
138 |
139 | {consts.MODAL_TEXT_STRONGLY_DECREASE}
140 |
141 |
142 | 2
143 |
144 |
145 |
146 | {consts.MODAL_TEXT_DECREASE}
147 |
148 |
149 | 3
150 |
151 |
152 |
153 | {consts.MODAL_TEXT_NEUTRAL}
154 |
155 |
156 | 4
157 |
158 |
159 |
160 | {consts.MODAL_TEXT_INCREASE}
161 |
162 |
163 | 5
164 |
165 |
166 |
167 |
168 | {consts.MODAL_TEXT_STRONGLY_INCREASE}
169 |
170 |
171 |
172 |
173 | >
174 |
175 | return (
176 | <>
177 |
178 |
179 | {consts.MODAL_TITLE_TRADE_OFFS}
180 |
181 |
182 |
183 |
184 |
185 | Mitigation Option:
186 |
187 | {
188 | mitigationOptionList.length === 0 ?
189 | No Option Data : ""
190 | }
191 | {
192 | mitigationOptionList.map((optionItem, idx) => (
193 | {optionItem}
194 | ))
195 | }
196 |
197 |
198 |
199 |
204 |
205 |
209 |
210 |
211 |
212 |
213 |
214 |
215 | Download Data
216 |
217 |
221 |
222 |
223 |
224 |
225 |
226 | {/*
*/}
227 |
Some Text Here!
228 |
229 |
230 | {/*
*/}
231 | {(exportData && exportData.length) ?
232 | <>
233 |
234 |
235 |
236 |
237 | {consts.TEXT_NON_GHG_INDICATOR}
238 | {consts.TEXT_MAGNITUDE}
239 |
240 |
241 |
242 | {exportData.map((element, idx) => (
243 |
244 | {element["NonGHGIndicator"]}
245 | {getIcon(element["Magnitude"])}
246 |
247 | ))}
248 |
249 |
250 |
251 | > :
252 |
253 | No Impacts & Synergies for {country}
254 |
255 | }
256 |
257 |
258 |
259 |
260 |
261 |
262 | {consts.MODAL_TEXT_STRONGLY_DECREASE}
263 |
264 |
265 |
266 | {consts.MODAL_TEXT_DECREASE}
267 |
268 |
269 |
270 | {consts.MODAL_TEXT_NEUTRAL}
271 |
272 |
273 |
274 |
275 | {consts.MODAL_TEXT_STRONGLY_INCREASE}
276 |
277 |
278 |
279 | {consts.MODAL_TEXT_INCREASE}
280 |
281 |
282 |
283 |
284 |
287 | >
288 | )
289 | }
290 |
291 | export default ImpactsAndSynergiesComponent;
--------------------------------------------------------------------------------
/fable/components/modal_component.js:
--------------------------------------------------------------------------------
1 | import { Fragment } from "react";
2 | import { Dialog, Transition } from "@headlessui/react";
3 | const consts = require("../consts/consts");
4 |
5 | const ModalComponent = ({title, content, isModalOpen, closeModal}) => {
6 |
7 | return (
8 | <>
9 | {/* Modal Content Here! */}
10 |
11 |
12 |
21 |
22 |
23 |
24 |
25 |
26 |
35 |
36 |
40 | {title}
41 |
42 | {content}
43 |
44 |
49 | Got it, thanks!
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 | >
59 | )
60 | }
61 |
62 | export default ModalComponent;
--------------------------------------------------------------------------------
/fable/components/source_data.js:
--------------------------------------------------------------------------------
1 | import { useEffect, useState } from "react";
2 | const dataSrc = require("../consts/221205_CleanSource.json")
3 | const SourceDataComponent = ({ AFOLUSector, farmingSystem, mitigationOption }) => {
4 |
5 | const [data, setData] = useState([]);
6 |
7 | const filterData = () => {
8 | setData(dataSrc.filter((ele) => {
9 | return (ele["FarmingSystem"] === farmingSystem && ele["Mitig_Option"] === mitigationOption)
10 | }));
11 | }
12 |
13 | useEffect(() => {
14 | filterData();
15 | }, [AFOLUSector, farmingSystem, mitigationOption]);
16 |
17 | return (
18 | <>
19 |
20 |
21 |
22 | Source Data for {mitigationOption}
23 |
24 |
25 | {
26 | <>
27 | {(data.length > 0) ?
28 |
29 |
30 |
31 |
32 | Author
33 | Title
34 | Year
35 | Journal
36 | DOI
37 |
38 |
39 |
40 | {
41 | data.map((ele, idx) => (
42 |
43 | {ele["Authors"]}
44 | {ele["Title"]}
45 | {ele["Year"]}
46 | {ele["Journal"]}
47 | {ele["DOI"]}
48 |
49 | ))
50 | }
51 |
52 |
53 |
54 | :
55 |
56 | No Data to Display
57 |
58 | }
59 | >
60 | }
61 |
62 |
67 | {/*
*/}
68 | >
69 | )
70 | }
71 |
72 | export default SourceDataComponent;
--------------------------------------------------------------------------------
/fable/consts/221205_CleanSource.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "Mitig_Option": "ADW",
4 | "Mitig_Option_FullName": "Alternate drying and wetting irrigation",
5 | "FarmingSystem": "Conventional rice farming",
6 | "Authors": "Lu, W., Chen, W., Duan, B. et al.",
7 | "Title": "Methane Emissions and Mitigation Options in Irrigated Rice Fields in Southeast China",
8 | "Year": 2000,
9 | "Journal": "Nutrient Cycling in Agroecosystems",
10 | "DOI": "https://doi.org/10.1023/A:1009830232650",
11 | "Party": "China"
12 | },
13 | {
14 | "Mitig_Option": "CF",
15 | "Mitig_Option_FullName": "Continuously flooded",
16 | "FarmingSystem": "Conventional rice farming",
17 | "Authors": "Lu, W., Chen, W., Duan, B. et al.",
18 | "Title": "Methane Emissions and Mitigation Options in Irrigated Rice Fields in Southeast China",
19 | "Year": 2000,
20 | "Journal": "Nutrient Cycling in Agroecosystems",
21 | "DOI": "https://doi.org/10.1023/A:1009830232650",
22 | "Party": "China"
23 | },
24 | {
25 | "Mitig_Option": "PFMSD",
26 | "Mitig_Option_FullName": "Persistent flooding with midseason drainage",
27 | "FarmingSystem": "Conventional rice farming",
28 | "Authors": "Lu, W., Chen, W., Duan, B. et al.",
29 | "Title": "Methane Emissions and Mitigation Options in Irrigated Rice Fields in Southeast China",
30 | "Year": 2000,
31 | "Journal": "Nutrient Cycling in Agroecosystems",
32 | "DOI": "https://doi.org/10.1023/A:1009830232650",
33 | "Party": "China"
34 | },
35 | {
36 | "Mitig_Option": "CF",
37 | "Mitig_Option_FullName": "Continuously flooded",
38 | "FarmingSystem": "Double rice cropping",
39 | "Authors": "Cheng, C., et al.",
40 | "Title": "Mitigating net global warming potential and greenhouse gas intensity by intermittent irrigation under�straw incorporation in Chinese double-rice cropping systems",
41 | "Year": 2020,
42 | "Journal": "Paddy Water Environ",
43 | "DOI": "https://doi.org/10.1007/s10333-019-00767-6",
44 | "Party": "China"
45 | },
46 | {
47 | "Mitig_Option": "CFMSD",
48 | "Mitig_Option_FullName": "Continuously flooded with midseason drainage",
49 | "FarmingSystem": "Double rice cropping",
50 | "Authors": "Cheng, C., et al.",
51 | "Title": "Mitigating net global warming potential and greenhouse gas intensity by intermittent irrigation under�straw incorporation in Chinese double-rice cropping systems",
52 | "Year": 2020,
53 | "Journal": "Paddy Water Environ",
54 | "DOI": "https://doi.org/10.1007/s10333-019-00767-6",
55 | "Party": "China"
56 | },
57 | {
58 | "Mitig_Option": "FMSDII",
59 | "Mitig_Option_FullName": "Flood for transplanting and tillering, drainage during the midseason, and intermittent irrigation after midseason",
60 | "FarmingSystem": "Double rice cropping",
61 | "Authors": "Cheng, C., et al.",
62 | "Title": "Mitigating net global warming potential and greenhouse gas intensity by intermittent irrigation under�straw incorporation in Chinese double-rice cropping systems",
63 | "Year": 2020,
64 | "Journal": "Paddy Water Environ",
65 | "DOI": "https://doi.org/10.1007/s10333-019-00767-6",
66 | "Party": "China"
67 | },
68 | {
69 | "Mitig_Option": "CI",
70 | "Mitig_Option_FullName": "Controlled irrigation",
71 | "FarmingSystem": "Conventional rice farming",
72 | "Authors": "Yang, S., et al.",
73 | "Title": "Methane and nitrous oxide emissions from paddy field as affected by water-saving irrigation",
74 | "Year": 2012,
75 | "Journal": "Physics and Chemistry of the Earth",
76 | "DOI": "http://dx.doi.org/10.1016/j.pce.2011.08.020",
77 | "Party": "China"
78 | },
79 | {
80 | "Mitig_Option": "FI",
81 | "Mitig_Option_FullName": "Flooding irrigation",
82 | "FarmingSystem": "Conventional rice farming",
83 | "Authors": "Yang, S., et al.",
84 | "Title": "Methane and nitrous oxide emissions from paddy field as affected by water-saving irrigation",
85 | "Year": 2012,
86 | "Journal": "Physics and Chemistry of the Earth",
87 | "DOI": "http://dx.doi.org/10.1016/j.pce.2011.08.020",
88 | "Party": "China"
89 | },
90 | {
91 | "Mitig_Option": "CF",
92 | "Mitig_Option_FullName": "Continuously flooded",
93 | "FarmingSystem": "Conventional rice farming",
94 | "Authors": "Sheng, F., et al.",
95 | "Title": "Integrated rice-duck farming decreases global warming potential and increases net ecosystem economic budget in central China",
96 | "Year": 2018,
97 | "Journal": "Environmental Science and Pollution Research",
98 | "DOI": "https://doi.org/10.1007/s11356-018-2380-9",
99 | "Party": "China"
100 | },
101 | {
102 | "Mitig_Option": "CF",
103 | "Mitig_Option_FullName": "Continuously flooded",
104 | "FarmingSystem": "Integrated rice-duck farming",
105 | "Authors": "Sheng, F., et al.",
106 | "Title": "Integrated rice-duck farming decreases global warming potential and increases net ecosystem economic budget in central China",
107 | "Year": 2018,
108 | "Journal": "Environmental Science and Pollution Research",
109 | "DOI": "https://doi.org/10.1007/s11356-018-2380-9",
110 | "Party": "China"
111 | },
112 | {
113 | "Mitig_Option": "ADW",
114 | "Mitig_Option_FullName": "Alternate drying and wetting irrigation",
115 | "FarmingSystem": "Conventional rice farming",
116 | "Authors": "Wang, Z., et al.",
117 | "Title": "A Four-Year Record of Methane Emissions from Irrigated Rice Fields in the Beijing Region of China",
118 | "Year": 2000,
119 | "Journal": "Nutrient Cycling in Agroecosystems",
120 | "DOI": "https://doi.org/10.1023/A:1009878115811",
121 | "Party": "China"
122 | },
123 | {
124 | "Mitig_Option": "CF",
125 | "Mitig_Option_FullName": "Continuously flooded",
126 | "FarmingSystem": "Conventional rice farming",
127 | "Authors": "Wang, Z., et al.",
128 | "Title": "A Four-Year Record of Methane Emissions from Irrigated Rice Fields in the Beijing Region of China",
129 | "Year": 2000,
130 | "Journal": "Nutrient Cycling in Agroecosystems",
131 | "DOI": "https://doi.org/10.1023/A:1009878115811",
132 | "Party": "China"
133 | },
134 | {
135 | "Mitig_Option": "PFMSD",
136 | "Mitig_Option_FullName": "Persistent flooding with midseason drainage",
137 | "FarmingSystem": "Conventional rice farming",
138 | "Authors": "Wang, Z., et al.",
139 | "Title": "A Four-Year Record of Methane Emissions from Irrigated Rice Fields in the Beijing Region of China",
140 | "Year": 2000,
141 | "Journal": "Nutrient Cycling in Agroecosystems",
142 | "DOI": "https://doi.org/10.1023/A:1009878115811",
143 | "Party": "China"
144 | },
145 | {
146 | "Mitig_Option": "ASR-W",
147 | "Mitig_Option_FullName": "Annual straw incorporating in rice-wheat rotation system",
148 | "FarmingSystem": "Integrated rice-duck farming",
149 | "Authors": "Xu, G., et al.",
150 | "Title": "Integrated rice-duck farming mitigates the global warming potential in rice season",
151 | "Year": 2017,
152 | "Journal": "Science of The Total Environment",
153 | "DOI": "https://doi.org/10.1016/j.scitotenv.2016.09.233",
154 | "Party": "China"
155 | },
156 | {
157 | "Mitig_Option": "ASBBRR-W",
158 | "Mitig_Option_FullName": "Annual straw-based biogas residues incorporating in rice-wheat rotation system",
159 | "FarmingSystem": "Integrated rice-duck farming",
160 | "Authors": "Xu, G., et al.",
161 | "Title": "Integrated rice-duck farming mitigates the global warming potential in rice season",
162 | "Year": 2017,
163 | "Journal": "Science of The Total Environment",
164 | "DOI": "https://doi.org/10.1016/j.scitotenv.2016.09.233",
165 | "Party": "China"
166 | },
167 | {
168 | "Mitig_Option": "ASR-W",
169 | "Mitig_Option_FullName": "Annual straw incorporating in rice-wheat rotation system",
170 | "FarmingSystem": "Conventional rice farming",
171 | "Authors": "Xu, G., et al.",
172 | "Title": "Integrated rice-duck farming mitigates the global warming potential in rice season",
173 | "Year": 2017,
174 | "Journal": "Science of The Total Environment",
175 | "DOI": "https://doi.org/10.1016/j.scitotenv.2016.09.233",
176 | "Party": "China"
177 | },
178 | {
179 | "Mitig_Option": "ASBBRR-W",
180 | "Mitig_Option_FullName": "Annual straw-based biogas residues incorporating in rice-wheat rotation system",
181 | "FarmingSystem": "Conventional rice farming",
182 | "Authors": "Xu, G., et al.",
183 | "Title": "Integrated rice-duck farming mitigates the global warming potential in rice season",
184 | "Year": 2017,
185 | "Journal": "Science of The Total Environment",
186 | "DOI": "https://doi.org/10.1016/j.scitotenv.2016.09.233",
187 | "Party": "China"
188 | },
189 | {
190 | "Mitig_Option": "R-F",
191 | "Mitig_Option_FullName": "Rice-Fallow rotation system",
192 | "FarmingSystem": "Conventional rice farming",
193 | "Authors": "Xu, G., et al.",
194 | "Title": "Integrated rice-duck farming mitigates the global warming potential in rice season",
195 | "Year": 2017,
196 | "Journal": "Science of The Total Environment",
197 | "DOI": "https://doi.org/10.1016/j.scitotenv.2016.09.233",
198 | "Party": "China"
199 | },
200 | {
201 | "Mitig_Option": "R-GM",
202 | "Mitig_Option_FullName": "Rice-green manure rotation system",
203 | "FarmingSystem": "Conventional rice farming",
204 | "Authors": "Xu, G., et al.",
205 | "Title": "Integrated rice-duck farming mitigates the global warming potential in rice season",
206 | "Year": 2017,
207 | "Journal": "Science of The Total Environment",
208 | "DOI": "https://doi.org/10.1016/j.scitotenv.2016.09.233",
209 | "Party": "China"
210 | },
211 | {
212 | "Mitig_Option": "R-F",
213 | "Mitig_Option_FullName": "Rice-Fallow rotation system",
214 | "FarmingSystem": "Integrated rice-duck farming",
215 | "Authors": "Xu, G., et al.",
216 | "Title": "Integrated rice-duck farming mitigates the global warming potential in rice season",
217 | "Year": 2017,
218 | "Journal": "Science of The Total Environment",
219 | "DOI": "https://doi.org/10.1016/j.scitotenv.2016.09.233",
220 | "Party": "China"
221 | },
222 | {
223 | "Mitig_Option": "R-GM",
224 | "Mitig_Option_FullName": "Rice-green manure rotation system",
225 | "FarmingSystem": "Integrated rice-duck farming",
226 | "Authors": "Xu, G., et al.",
227 | "Title": "Integrated rice-duck farming mitigates the global warming potential in rice season",
228 | "Year": 2017,
229 | "Journal": "Science of The Total Environment",
230 | "DOI": "https://doi.org/10.1016/j.scitotenv.2016.09.233",
231 | "Party": "China"
232 | },
233 | {
234 | "Mitig_Option": "CF",
235 | "Mitig_Option_FullName": "Continuously flooded",
236 | "FarmingSystem": "Conventional rice farming",
237 | "Authors": "Yang, S., et al.",
238 | "Title": "Biochar improved rice yield and mitigated CH4 and N2O emissions from paddy field under controlled irrigation in the Taihu Lake Region of China",
239 | "Year": 2019,
240 | "Journal": "Atmospheric Environment",
241 | "DOI": "https://doi.org/10.1016/j.atmosenv.2018.12.003",
242 | "Party": "China"
243 | },
244 | {
245 | "Mitig_Option": "CI",
246 | "Mitig_Option_FullName": "Controlled irrigation",
247 | "FarmingSystem": "Conventional rice farming",
248 | "Authors": "Yang, S., et al.",
249 | "Title": "Biochar improved rice yield and mitigated CH4 and N2O emissions from paddy field under controlled irrigation in the Taihu Lake Region of China",
250 | "Year": 2019,
251 | "Journal": "Atmospheric Environment",
252 | "DOI": "https://doi.org/10.1016/j.atmosenv.2018.12.003",
253 | "Party": "China"
254 | },
255 | {
256 | "Mitig_Option": "CISB",
257 | "Mitig_Option_FullName": "Controlled irrigation with straw biochar",
258 | "FarmingSystem": "Conventional rice farming",
259 | "Authors": "Yang, S., et al.",
260 | "Title": "Biochar improved rice yield and mitigated CH4 and N2O emissions from paddy field under controlled irrigation in the Taihu Lake Region of China",
261 | "Year": 2019,
262 | "Journal": "Atmospheric Environment",
263 | "DOI": "https://doi.org/10.1016/j.atmosenv.2018.12.003",
264 | "Party": "China"
265 | },
266 | {
267 | "Mitig_Option": "BDF",
268 | "Mitig_Option_FullName": "Biodegradable film",
269 | "FarmingSystem": "Ground cover rice production system",
270 | "Authors": "Yao, Z., et al.",
271 | "Title": "Improving rice production sustainability by reducing water demand and greenhouse gas emissions with biodegradable films",
272 | "Year": 2017,
273 | "Journal": "Scientific Reports",
274 | "DOI": "https://doi.org/10.1038/srep39855",
275 | "Party": "China"
276 | },
277 | {
278 | "Mitig_Option": "RPF",
279 | "Mitig_Option_FullName": "Regular Polyethylene film",
280 | "FarmingSystem": "Ground cover rice production system",
281 | "Authors": "Yao, Z., et al.",
282 | "Title": "Improving rice production sustainability by reducing water demand and greenhouse gas emissions with biodegradable films",
283 | "Year": 2017,
284 | "Journal": "Scientific Reports",
285 | "DOI": "https://doi.org/10.1038/srep39855",
286 | "Party": "China"
287 | },
288 | {
289 | "Mitig_Option": "CFMSD",
290 | "Mitig_Option_FullName": "Continuously flooded with midseason drainage",
291 | "FarmingSystem": "Conventional rice farming",
292 | "Authors": "Yao, Z., et al.",
293 | "Title": "Improving rice production sustainability by reducing water demand and greenhouse gas emissions with biodegradable films",
294 | "Year": 2017,
295 | "Journal": "Scientific Reports",
296 | "DOI": "https://doi.org/10.1038/srep39855",
297 | "Party": "China"
298 | },
299 | {
300 | "Mitig_Option": "ADW",
301 | "Mitig_Option_FullName": "Alternate drying and wetting irrigation",
302 | "FarmingSystem": "Double rice cropping",
303 | "Authors": "Zeng, Y., et al.",
304 | "Title": "Nitrous Oxide Emission in Relation to Paddy Soil Microbial Communities in South China Under Different Irrigation and Nitrogen Strategies",
305 | "Year": 2019,
306 | "Journal": "Communications in Soil Science and Plant Analysis",
307 | "DOI": "https://doi.org/10.1080/00103624.2019.1614606",
308 | "Party": "China"
309 | },
310 | {
311 | "Mitig_Option": "CF",
312 | "Mitig_Option_FullName": "Continuously flooded",
313 | "FarmingSystem": "Double rice cropping",
314 | "Authors": "Zeng, Y., et al.",
315 | "Title": "Nitrous Oxide Emission in Relation to Paddy Soil Microbial Communities in South China Under Different Irrigation and Nitrogen Strategies",
316 | "Year": 2019,
317 | "Journal": "Communications in Soil Science and Plant Analysis",
318 | "DOI": "https://doi.org/10.1080/00103624.2019.1614606",
319 | "Party": "China"
320 | },
321 | {
322 | "Mitig_Option": "TSWD",
323 | "Mitig_Option_FullName": "Thin-shallow-wet-dry",
324 | "FarmingSystem": "Double rice cropping",
325 | "Authors": "Zeng, Y., et al.",
326 | "Title": "Nitrous Oxide Emission in Relation to Paddy Soil Microbial Communities in South China Under Different Irrigation and Nitrogen Strategies",
327 | "Year": 2019,
328 | "Journal": "Communications in Soil Science and Plant Analysis",
329 | "DOI": "https://doi.org/10.1080/00103624.2019.1614606",
330 | "Party": "China"
331 | },
332 | {
333 | "Mitig_Option": "PTSI",
334 | "Mitig_Option_FullName": "Plough tillage with straw incorporation",
335 | "FarmingSystem": "Double rice cropping",
336 | "Authors": "Zhang, J., et al.",
337 | "Title": "Interactive effects of straw incorporation and tillage on crop yield and greenhouse gas emissions in double rice cropping system",
338 | "Year": 2017,
339 | "Journal": "Agriculture, Ecosystems & Environment",
340 | "DOI": "http://dx.doi.org/10.1016/j.agee.2017.07.034",
341 | "Party": "China"
342 | },
343 | {
344 | "Mitig_Option": "PT",
345 | "Mitig_Option_FullName": "Plough tillage without straw incorporation",
346 | "FarmingSystem": "Double rice cropping",
347 | "Authors": "Zhang, J., et al.",
348 | "Title": "Interactive effects of straw incorporation and tillage on crop yield and greenhouse gas emissions in double rice cropping system",
349 | "Year": 2017,
350 | "Journal": "Agriculture, Ecosystems & Environment",
351 | "DOI": "http://dx.doi.org/10.1016/j.agee.2017.07.034",
352 | "Party": "China"
353 | },
354 | {
355 | "Mitig_Option": "RTSI",
356 | "Mitig_Option_FullName": "Rotary tillage with straw incorporation",
357 | "FarmingSystem": "Double rice cropping",
358 | "Authors": "Zhang, J., et al.",
359 | "Title": "Interactive effects of straw incorporation and tillage on crop yield and greenhouse gas emissions in double rice cropping system",
360 | "Year": 2017,
361 | "Journal": "Agriculture, Ecosystems & Environment",
362 | "DOI": "http://dx.doi.org/10.1016/j.agee.2017.07.034",
363 | "Party": "China"
364 | }
365 | ]
--------------------------------------------------------------------------------
/fable/consts/221205_TextGWP.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/consts/221205_TextGWP.docx
--------------------------------------------------------------------------------
/fable/consts/221205_TradeOffs.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "Country": "China",
4 | "Mitig_Option": "ADW",
5 | "Mitig_Option_FullName": "Alternate drying and wetting irrigation",
6 | "FarmingSystem": "Conventional rice farming",
7 | "NonGHGIndicator": "Irrigation Water (Input)",
8 | "AFOLU_Sector": "Rice Cultivation",
9 | "Magnitude": 4,
10 | "DescriptionText": "Insert some text here",
11 | "HEX": "#ED828B"
12 | },
13 | {
14 | "Country": "China",
15 | "Mitig_Option": "CF",
16 | "Mitig_Option_FullName": "Continuously flooded",
17 | "FarmingSystem": "Conventional rice farming",
18 | "NonGHGIndicator": "Irrigation Water (Input)",
19 | "AFOLU_Sector": "Rice Cultivation",
20 | "Magnitude": 5,
21 | "DescriptionText": "Insert some text here",
22 | "HEX": "#A15057"
23 | },
24 | {
25 | "Country": "China",
26 | "Mitig_Option": "PFMSD",
27 | "Mitig_Option_FullName": "Persistent flooding with midseason drainage",
28 | "FarmingSystem": "Conventional rice farming",
29 | "NonGHGIndicator": "Irrigation Water (Input)",
30 | "AFOLU_Sector": "Rice Cultivation",
31 | "Magnitude": 1,
32 | "DescriptionText": "Insert some text here",
33 | "HEX": "#7095A1"
34 | },
35 | {
36 | "Country": "China",
37 | "Mitig_Option": "ADW",
38 | "Mitig_Option_FullName": "Alternate drying and wetting irrigation",
39 | "FarmingSystem": "Double rice cropping",
40 | "NonGHGIndicator": "Irrigation Water (Input)",
41 | "AFOLU_Sector": "Rice Cultivation",
42 | "DescriptionText": "Insert some text here"
43 | },
44 | {
45 | "Country": "China",
46 | "Mitig_Option": "CI",
47 | "Mitig_Option_FullName": "Controlled irrigation",
48 | "FarmingSystem": "Conventional rice farming",
49 | "NonGHGIndicator": "Irrigation Water (Input)",
50 | "AFOLU_Sector": "Rice Cultivation",
51 | "Magnitude": 3,
52 | "DescriptionText": "Insert some text here",
53 | "HEX": "#EEEA8E"
54 | },
55 | {
56 | "Country": "China",
57 | "Mitig_Option": "FI",
58 | "Mitig_Option_FullName": "Flooding irrigation",
59 | "FarmingSystem": "Conventional rice farming",
60 | "NonGHGIndicator": "Irrigation Water (Input)",
61 | "AFOLU_Sector": "Rice Cultivation",
62 | "DescriptionText": "Insert some text here"
63 | },
64 | {
65 | "Country": "China",
66 | "Mitig_Option": "ASR-W",
67 | "Mitig_Option_FullName": "Annual straw incorporating in rice-wheat rotation system",
68 | "FarmingSystem": "Integrated rice-duck farming",
69 | "NonGHGIndicator": "Irrigation Water (Input)",
70 | "AFOLU_Sector": "Rice Cultivation",
71 | "DescriptionText": "Insert some text here"
72 | },
73 | {
74 | "Country": "China",
75 | "Mitig_Option": "ASBBRR-W",
76 | "Mitig_Option_FullName": "Annual straw-based biogas residues incorporating in rice-wheat rotation system",
77 | "FarmingSystem": "Integrated rice-duck farming",
78 | "NonGHGIndicator": "Irrigation Water (Input)",
79 | "AFOLU_Sector": "Rice Cultivation",
80 | "Magnitude": 5,
81 | "DescriptionText": "Insert some text here",
82 | "HEX": "#A15057"
83 | },
84 | {
85 | "Country": "China",
86 | "Mitig_Option": "BDF",
87 | "Mitig_Option_FullName": "Biodegradable film",
88 | "FarmingSystem": "Ground cover rice production system",
89 | "NonGHGIndicator": "Irrigation Water (Input)",
90 | "AFOLU_Sector": "Rice Cultivation",
91 | "Magnitude": 1,
92 | "DescriptionText": "Insert some text here",
93 | "HEX": "#7095A1"
94 | },
95 | {
96 | "Country": "China",
97 | "Mitig_Option": "TSWD",
98 | "Mitig_Option_FullName": "Thin-shallow-wet-dry",
99 | "FarmingSystem": "Conventional rice farming",
100 | "NonGHGIndicator": "Irrigation Water (Input)",
101 | "AFOLU_Sector": "Rice Cultivation",
102 | "Magnitude": 2,
103 | "DescriptionText": "Insert some text here",
104 | "HEX": "#87D5ED"
105 | },
106 | {
107 | "Country": "China",
108 | "Mitig_Option": "CF",
109 | "Mitig_Option_FullName": "Continuously flooded",
110 | "FarmingSystem": "Double rice cropping",
111 | "NonGHGIndicator": "Irrigation Water (Input)",
112 | "AFOLU_Sector": "Rice Cultivation",
113 | "Magnitude": 4,
114 | "DescriptionText": "Insert some text here",
115 | "HEX": "#ED828B"
116 | },
117 | {
118 | "Country": "China",
119 | "Mitig_Option": "CF",
120 | "Mitig_Option_FullName": "Continuously flooded",
121 | "FarmingSystem": "Integrated rice-duck farming",
122 | "NonGHGIndicator": "Irrigation Water (Input)",
123 | "AFOLU_Sector": "Rice Cultivation",
124 | "DescriptionText": "Insert some text here"
125 | },
126 | {
127 | "Country": "China",
128 | "Mitig_Option": "CFMSD",
129 | "Mitig_Option_FullName": "Continuously flooded with midseason drainage",
130 | "FarmingSystem": "Double rice cropping",
131 | "NonGHGIndicator": "Irrigation Water (Input)",
132 | "AFOLU_Sector": "Rice Cultivation",
133 | "Magnitude": 2,
134 | "DescriptionText": "Insert some text here",
135 | "HEX": "#87D5ED"
136 | },
137 | {
138 | "Country": "China",
139 | "Mitig_Option": "ASR-W",
140 | "Mitig_Option_FullName": "Annual straw incorporating in rice-wheat rotation system",
141 | "FarmingSystem": "Conventional rice farming",
142 | "NonGHGIndicator": "Irrigation Water (Input)",
143 | "AFOLU_Sector": "Rice Cultivation",
144 | "Magnitude": 3,
145 | "DescriptionText": "Insert some text here",
146 | "HEX": "#EEEA8E"
147 | },
148 | {
149 | "Country": "China",
150 | "Mitig_Option": "ASBBRR-W",
151 | "Mitig_Option_FullName": "Annual straw-based biogas residues incorporating in rice-wheat rotation system",
152 | "FarmingSystem": "Conventional rice farming",
153 | "NonGHGIndicator": "Irrigation Water (Input)",
154 | "AFOLU_Sector": "Rice Cultivation",
155 | "Magnitude": 2,
156 | "DescriptionText": "Insert some text here",
157 | "HEX": "#87D5ED"
158 | },
159 | {
160 | "Country": "China",
161 | "Mitig_Option": "R-F",
162 | "Mitig_Option_FullName": "Rice-Fallow rotation system",
163 | "FarmingSystem": "Conventional rice farming",
164 | "NonGHGIndicator": "Irrigation Water (Input)",
165 | "AFOLU_Sector": "Rice Cultivation",
166 | "Magnitude": 2,
167 | "DescriptionText": "Insert some text here",
168 | "HEX": "#87D5ED"
169 | },
170 | {
171 | "Country": "China",
172 | "Mitig_Option": "R-GM",
173 | "Mitig_Option_FullName": "Rice-green manure rotation system",
174 | "FarmingSystem": "Conventional rice farming",
175 | "NonGHGIndicator": "Irrigation Water (Input)",
176 | "AFOLU_Sector": "Rice Cultivation",
177 | "Magnitude": 3,
178 | "DescriptionText": "Insert some text here",
179 | "HEX": "#EEEA8E"
180 | },
181 | {
182 | "Country": "China",
183 | "Mitig_Option": "FMSDII",
184 | "Mitig_Option_FullName": "Flood for transplanting and tillering, drainage during the midseason, and intermittent irrigation after midseason",
185 | "FarmingSystem": "Double rice cropping",
186 | "NonGHGIndicator": "Irrigation Water (Input)",
187 | "AFOLU_Sector": "Rice Cultivation",
188 | "Magnitude": 4,
189 | "DescriptionText": "Insert some text here",
190 | "HEX": "#ED828B"
191 | },
192 | {
193 | "Country": "China",
194 | "Mitig_Option": "CISB",
195 | "Mitig_Option_FullName": "Controlled irrigation with straw biochar",
196 | "FarmingSystem": "Conventional rice farming",
197 | "NonGHGIndicator": "Irrigation Water (Input)",
198 | "AFOLU_Sector": "Rice Cultivation",
199 | "Magnitude": 4,
200 | "DescriptionText": "Insert some text here",
201 | "HEX": "#ED828B"
202 | },
203 | {
204 | "Country": "China",
205 | "Mitig_Option": "PTSI",
206 | "Mitig_Option_FullName": "Plough tillage with straw incorporation",
207 | "FarmingSystem": "Double rice cropping",
208 | "NonGHGIndicator": "Irrigation Water (Input)",
209 | "AFOLU_Sector": "Rice Cultivation",
210 | "Magnitude": 3,
211 | "DescriptionText": "Insert some text here",
212 | "HEX": "#EEEA8E"
213 | },
214 | {
215 | "Country": "China",
216 | "Mitig_Option": "PT",
217 | "Mitig_Option_FullName": "Plough tillage without straw incorporation",
218 | "FarmingSystem": "Double rice cropping",
219 | "NonGHGIndicator": "Irrigation Water (Input)",
220 | "AFOLU_Sector": "Rice Cultivation",
221 | "DescriptionText": "Insert some text here"
222 | },
223 | {
224 | "Country": "China",
225 | "Mitig_Option": "RPF",
226 | "Mitig_Option_FullName": "Regular Polyethylene film",
227 | "FarmingSystem": "Ground cover rice production system",
228 | "NonGHGIndicator": "Irrigation Water (Input)",
229 | "AFOLU_Sector": "Rice Cultivation",
230 | "DescriptionText": "Insert some text here"
231 | },
232 | {
233 | "Country": "China",
234 | "Mitig_Option": "R-F",
235 | "Mitig_Option_FullName": "Rice-Fallow rotation system",
236 | "FarmingSystem": "Integrated rice-duck farming",
237 | "NonGHGIndicator": "Irrigation Water (Input)",
238 | "AFOLU_Sector": "Rice Cultivation",
239 | "Magnitude": 3,
240 | "DescriptionText": "Insert some text here",
241 | "HEX": "#EEEA8E"
242 | },
243 | {
244 | "Country": "China",
245 | "Mitig_Option": "CFMSD",
246 | "Mitig_Option_FullName": "Continuously flooded with midseason drainage",
247 | "FarmingSystem": "Conventional rice farming",
248 | "NonGHGIndicator": "Irrigation Water (Input)",
249 | "AFOLU_Sector": "Rice Cultivation",
250 | "Magnitude": 4,
251 | "DescriptionText": "Insert some text here",
252 | "HEX": "#ED828B"
253 | },
254 | {
255 | "Country": "China",
256 | "Mitig_Option": "R-GM",
257 | "Mitig_Option_FullName": "Rice-green manure rotation system",
258 | "FarmingSystem": "Integrated rice-duck farming",
259 | "NonGHGIndicator": "Irrigation Water (Input)",
260 | "AFOLU_Sector": "Rice Cultivation",
261 | "Magnitude": 1,
262 | "DescriptionText": "Insert some text here",
263 | "HEX": "#7095A1"
264 | },
265 | {
266 | "Country": "China",
267 | "Mitig_Option": "RTSI",
268 | "Mitig_Option_FullName": "Rotary tillage with straw incorporation",
269 | "FarmingSystem": "Double rice cropping",
270 | "NonGHGIndicator": "Irrigation Water (Input)",
271 | "AFOLU_Sector": "Rice Cultivation",
272 | "Magnitude": 3,
273 | "DescriptionText": "Insert some text here",
274 | "HEX": "#EEEA8E"
275 | },
276 | {
277 | "Country": "China",
278 | "Mitig_Option": "TSWD",
279 | "Mitig_Option_FullName": "Thin-shallow-wet-dry",
280 | "FarmingSystem": "Double rice cropping",
281 | "NonGHGIndicator": "Irrigation Water (Input)",
282 | "AFOLU_Sector": "Rice Cultivation",
283 | "DescriptionText": "Insert some text here"
284 | },
285 | {
286 | "Country": "China",
287 | "Mitig_Option": "ADW",
288 | "Mitig_Option_FullName": "Alternate drying and wetting irrigation",
289 | "FarmingSystem": "Conventional rice farming",
290 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
291 | "AFOLU_Sector": "Rice Cultivation",
292 | "Magnitude": 3,
293 | "DescriptionText": "Insert some text here",
294 | "HEX": "#EEEA8E"
295 | },
296 | {
297 | "Country": "China",
298 | "Mitig_Option": "CF",
299 | "Mitig_Option_FullName": "Continuously flooded",
300 | "FarmingSystem": "Conventional rice farming",
301 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
302 | "AFOLU_Sector": "Rice Cultivation",
303 | "Magnitude": 1,
304 | "DescriptionText": "Insert some text here",
305 | "HEX": "#7095A1"
306 | },
307 | {
308 | "Country": "China",
309 | "Mitig_Option": "PFMSD",
310 | "Mitig_Option_FullName": "Persistent flooding with midseason drainage",
311 | "FarmingSystem": "Conventional rice farming",
312 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
313 | "AFOLU_Sector": "Rice Cultivation",
314 | "Magnitude": 4,
315 | "DescriptionText": "Insert some text here",
316 | "HEX": "#ED828B"
317 | },
318 | {
319 | "Country": "China",
320 | "Mitig_Option": "ADW",
321 | "Mitig_Option_FullName": "Alternate drying and wetting irrigation",
322 | "FarmingSystem": "Double rice cropping",
323 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
324 | "AFOLU_Sector": "Rice Cultivation",
325 | "DescriptionText": "Insert some text here"
326 | },
327 | {
328 | "Country": "China",
329 | "Mitig_Option": "CI",
330 | "Mitig_Option_FullName": "Controlled irrigation",
331 | "FarmingSystem": "Conventional rice farming",
332 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
333 | "AFOLU_Sector": "Rice Cultivation",
334 | "Magnitude": 3,
335 | "DescriptionText": "Insert some text here",
336 | "HEX": "#EEEA8E"
337 | },
338 | {
339 | "Country": "China",
340 | "Mitig_Option": "FI",
341 | "Mitig_Option_FullName": "Flooding irrigation",
342 | "FarmingSystem": "Conventional rice farming",
343 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
344 | "AFOLU_Sector": "Rice Cultivation",
345 | "Magnitude": 2,
346 | "DescriptionText": "Insert some text here",
347 | "HEX": "#87D5ED"
348 | },
349 | {
350 | "Country": "China",
351 | "Mitig_Option": "ASR-W",
352 | "Mitig_Option_FullName": "Annual straw incorporating in rice-wheat rotation system",
353 | "FarmingSystem": "Integrated rice-duck farming",
354 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
355 | "AFOLU_Sector": "Rice Cultivation",
356 | "Magnitude": 3,
357 | "DescriptionText": "Insert some text here",
358 | "HEX": "#EEEA8E"
359 | },
360 | {
361 | "Country": "China",
362 | "Mitig_Option": "ASBBRR-W",
363 | "Mitig_Option_FullName": "Annual straw-based biogas residues incorporating in rice-wheat rotation system",
364 | "FarmingSystem": "Integrated rice-duck farming",
365 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
366 | "AFOLU_Sector": "Rice Cultivation",
367 | "Magnitude": 1,
368 | "DescriptionText": "Insert some text here",
369 | "HEX": "#7095A1"
370 | },
371 | {
372 | "Country": "China",
373 | "Mitig_Option": "BDF",
374 | "Mitig_Option_FullName": "Biodegradable film",
375 | "FarmingSystem": "Ground cover rice production system",
376 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
377 | "AFOLU_Sector": "Rice Cultivation",
378 | "Magnitude": 3,
379 | "DescriptionText": "Insert some text here",
380 | "HEX": "#EEEA8E"
381 | },
382 | {
383 | "Country": "China",
384 | "Mitig_Option": "TSWD",
385 | "Mitig_Option_FullName": "Thin-shallow-wet-dry",
386 | "FarmingSystem": "Conventional rice farming",
387 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
388 | "AFOLU_Sector": "Rice Cultivation",
389 | "DescriptionText": "Insert some text here"
390 | },
391 | {
392 | "Country": "China",
393 | "Mitig_Option": "CF",
394 | "Mitig_Option_FullName": "Continuously flooded",
395 | "FarmingSystem": "Double rice cropping",
396 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
397 | "AFOLU_Sector": "Rice Cultivation",
398 | "Magnitude": 3,
399 | "DescriptionText": "Insert some text here",
400 | "HEX": "#EEEA8E"
401 | },
402 | {
403 | "Country": "China",
404 | "Mitig_Option": "CF",
405 | "Mitig_Option_FullName": "Continuously flooded",
406 | "FarmingSystem": "Integrated rice-duck farming",
407 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
408 | "AFOLU_Sector": "Rice Cultivation",
409 | "Magnitude": 4,
410 | "DescriptionText": "Insert some text here",
411 | "HEX": "#ED828B"
412 | },
413 | {
414 | "Country": "China",
415 | "Mitig_Option": "CFMSD",
416 | "Mitig_Option_FullName": "Continuously flooded with midseason drainage",
417 | "FarmingSystem": "Double rice cropping",
418 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
419 | "AFOLU_Sector": "Rice Cultivation",
420 | "Magnitude": 1,
421 | "DescriptionText": "Insert some text here",
422 | "HEX": "#7095A1"
423 | },
424 | {
425 | "Country": "China",
426 | "Mitig_Option": "ASR-W",
427 | "Mitig_Option_FullName": "Annual straw incorporating in rice-wheat rotation system",
428 | "FarmingSystem": "Conventional rice farming",
429 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
430 | "AFOLU_Sector": "Rice Cultivation",
431 | "Magnitude": 4,
432 | "DescriptionText": "Insert some text here",
433 | "HEX": "#ED828B"
434 | },
435 | {
436 | "Country": "China",
437 | "Mitig_Option": "ASBBRR-W",
438 | "Mitig_Option_FullName": "Annual straw-based biogas residues incorporating in rice-wheat rotation system",
439 | "FarmingSystem": "Conventional rice farming",
440 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
441 | "AFOLU_Sector": "Rice Cultivation",
442 | "Magnitude": 2,
443 | "DescriptionText": "Insert some text here",
444 | "HEX": "#87D5ED"
445 | },
446 | {
447 | "Country": "China",
448 | "Mitig_Option": "R-F",
449 | "Mitig_Option_FullName": "Rice-Fallow rotation system",
450 | "FarmingSystem": "Conventional rice farming",
451 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
452 | "AFOLU_Sector": "Rice Cultivation",
453 | "Magnitude": 3,
454 | "DescriptionText": "Insert some text here",
455 | "HEX": "#EEEA8E"
456 | },
457 | {
458 | "Country": "China",
459 | "Mitig_Option": "R-GM",
460 | "Mitig_Option_FullName": "Rice-green manure rotation system",
461 | "FarmingSystem": "Conventional rice farming",
462 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
463 | "AFOLU_Sector": "Rice Cultivation",
464 | "DescriptionText": "Insert some text here"
465 | },
466 | {
467 | "Country": "China",
468 | "Mitig_Option": "FMSDII",
469 | "Mitig_Option_FullName": "Flood for transplanting and tillering, drainage during the midseason, and intermittent irrigation after midseason",
470 | "FarmingSystem": "Double rice cropping",
471 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
472 | "AFOLU_Sector": "Rice Cultivation",
473 | "Magnitude": 2,
474 | "DescriptionText": "Insert some text here",
475 | "HEX": "#87D5ED"
476 | },
477 | {
478 | "Country": "China",
479 | "Mitig_Option": "CISB",
480 | "Mitig_Option_FullName": "Controlled irrigation with straw biochar",
481 | "FarmingSystem": "Conventional rice farming",
482 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
483 | "AFOLU_Sector": "Rice Cultivation",
484 | "Magnitude": 4,
485 | "DescriptionText": "Insert some text here",
486 | "HEX": "#ED828B"
487 | },
488 | {
489 | "Country": "China",
490 | "Mitig_Option": "PTSI",
491 | "Mitig_Option_FullName": "Plough tillage with straw incorporation",
492 | "FarmingSystem": "Double rice cropping",
493 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
494 | "AFOLU_Sector": "Rice Cultivation",
495 | "Magnitude": 5,
496 | "DescriptionText": "Insert some text here",
497 | "HEX": "#A15057"
498 | },
499 | {
500 | "Country": "China",
501 | "Mitig_Option": "PT",
502 | "Mitig_Option_FullName": "Plough tillage without straw incorporation",
503 | "FarmingSystem": "Double rice cropping",
504 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
505 | "AFOLU_Sector": "Rice Cultivation",
506 | "DescriptionText": "Insert some text here"
507 | },
508 | {
509 | "Country": "China",
510 | "Mitig_Option": "RPF",
511 | "Mitig_Option_FullName": "Regular Polyethylene film",
512 | "FarmingSystem": "Ground cover rice production system",
513 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
514 | "AFOLU_Sector": "Rice Cultivation",
515 | "DescriptionText": "Insert some text here"
516 | },
517 | {
518 | "Country": "China",
519 | "Mitig_Option": "R-F",
520 | "Mitig_Option_FullName": "Rice-Fallow rotation system",
521 | "FarmingSystem": "Integrated rice-duck farming",
522 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
523 | "AFOLU_Sector": "Rice Cultivation",
524 | "DescriptionText": "Insert some text here"
525 | },
526 | {
527 | "Country": "China",
528 | "Mitig_Option": "CFMSD",
529 | "Mitig_Option_FullName": "Continuously flooded with midseason drainage",
530 | "FarmingSystem": "Conventional rice farming",
531 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
532 | "AFOLU_Sector": "Rice Cultivation",
533 | "DescriptionText": "Insert some text here"
534 | },
535 | {
536 | "Country": "China",
537 | "Mitig_Option": "R-GM",
538 | "Mitig_Option_FullName": "Rice-green manure rotation system",
539 | "FarmingSystem": "Integrated rice-duck farming",
540 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
541 | "AFOLU_Sector": "Rice Cultivation",
542 | "Magnitude": 2,
543 | "DescriptionText": "Insert some text here",
544 | "HEX": "#87D5ED"
545 | },
546 | {
547 | "Country": "China",
548 | "Mitig_Option": "RTSI",
549 | "Mitig_Option_FullName": "Rotary tillage with straw incorporation",
550 | "FarmingSystem": "Double rice cropping",
551 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
552 | "AFOLU_Sector": "Rice Cultivation",
553 | "Magnitude": 2,
554 | "DescriptionText": "Insert some text here",
555 | "HEX": "#87D5ED"
556 | },
557 | {
558 | "Country": "China",
559 | "Mitig_Option": "TSWD",
560 | "Mitig_Option_FullName": "Thin-shallow-wet-dry",
561 | "FarmingSystem": "Double rice cropping",
562 | "NonGHGIndicator": "Nitrogen Use Efficiency (Input)",
563 | "AFOLU_Sector": "Rice Cultivation",
564 | "Magnitude": 3,
565 | "DescriptionText": "Insert some text here",
566 | "HEX": "#EEEA8E"
567 | },
568 | {
569 | "Country": "China",
570 | "Mitig_Option": "ADW",
571 | "Mitig_Option_FullName": "Alternate drying and wetting irrigation",
572 | "FarmingSystem": "Conventional rice farming",
573 | "NonGHGIndicator": "Yield (Output)",
574 | "AFOLU_Sector": "Rice Cultivation",
575 | "Magnitude": 3,
576 | "DescriptionText": "Insert some text here",
577 | "HEX": "#EEEA8E"
578 | },
579 | {
580 | "Country": "China",
581 | "Mitig_Option": "CF",
582 | "Mitig_Option_FullName": "Continuously flooded",
583 | "FarmingSystem": "Conventional rice farming",
584 | "NonGHGIndicator": "Yield (Output)",
585 | "AFOLU_Sector": "Rice Cultivation",
586 | "Magnitude": 2,
587 | "DescriptionText": "Insert some text here",
588 | "HEX": "#87D5ED"
589 | },
590 | {
591 | "Country": "China",
592 | "Mitig_Option": "PFMSD",
593 | "Mitig_Option_FullName": "Persistent flooding with midseason drainage",
594 | "FarmingSystem": "Conventional rice farming",
595 | "NonGHGIndicator": "Yield (Output)",
596 | "AFOLU_Sector": "Rice Cultivation",
597 | "DescriptionText": "Insert some text here"
598 | },
599 | {
600 | "Country": "China",
601 | "Mitig_Option": "ADW",
602 | "Mitig_Option_FullName": "Alternate drying and wetting irrigation",
603 | "FarmingSystem": "Double rice cropping",
604 | "NonGHGIndicator": "Yield (Output)",
605 | "AFOLU_Sector": "Rice Cultivation",
606 | "Magnitude": 2,
607 | "DescriptionText": "Insert some text here",
608 | "HEX": "#87D5ED"
609 | },
610 | {
611 | "Country": "China",
612 | "Mitig_Option": "CI",
613 | "Mitig_Option_FullName": "Controlled irrigation",
614 | "FarmingSystem": "Conventional rice farming",
615 | "NonGHGIndicator": "Yield (Output)",
616 | "AFOLU_Sector": "Rice Cultivation",
617 | "Magnitude": 5,
618 | "DescriptionText": "Insert some text here",
619 | "HEX": "#A15057"
620 | },
621 | {
622 | "Country": "China",
623 | "Mitig_Option": "FI",
624 | "Mitig_Option_FullName": "Flooding irrigation",
625 | "FarmingSystem": "Conventional rice farming",
626 | "NonGHGIndicator": "Yield (Output)",
627 | "AFOLU_Sector": "Rice Cultivation",
628 | "Magnitude": 1,
629 | "DescriptionText": "Insert some text here",
630 | "HEX": "#7095A1"
631 | },
632 | {
633 | "Country": "China",
634 | "Mitig_Option": "ASR-W",
635 | "Mitig_Option_FullName": "Annual straw incorporating in rice-wheat rotation system",
636 | "FarmingSystem": "Integrated rice-duck farming",
637 | "NonGHGIndicator": "Yield (Output)",
638 | "AFOLU_Sector": "Rice Cultivation",
639 | "Magnitude": 5,
640 | "DescriptionText": "Insert some text here",
641 | "HEX": "#A15057"
642 | },
643 | {
644 | "Country": "China",
645 | "Mitig_Option": "ASBBRR-W",
646 | "Mitig_Option_FullName": "Annual straw-based biogas residues incorporating in rice-wheat rotation system",
647 | "FarmingSystem": "Integrated rice-duck farming",
648 | "NonGHGIndicator": "Yield (Output)",
649 | "AFOLU_Sector": "Rice Cultivation",
650 | "Magnitude": 2,
651 | "DescriptionText": "Insert some text here",
652 | "HEX": "#87D5ED"
653 | },
654 | {
655 | "Country": "China",
656 | "Mitig_Option": "BDF",
657 | "Mitig_Option_FullName": "Biodegradable film",
658 | "FarmingSystem": "Ground cover rice production system",
659 | "NonGHGIndicator": "Yield (Output)",
660 | "AFOLU_Sector": "Rice Cultivation",
661 | "Magnitude": 2,
662 | "DescriptionText": "Insert some text here",
663 | "HEX": "#87D5ED"
664 | },
665 | {
666 | "Country": "China",
667 | "Mitig_Option": "TSWD",
668 | "Mitig_Option_FullName": "Thin-shallow-wet-dry",
669 | "FarmingSystem": "Conventional rice farming",
670 | "NonGHGIndicator": "Yield (Output)",
671 | "AFOLU_Sector": "Rice Cultivation",
672 | "Magnitude": 4,
673 | "DescriptionText": "Insert some text here",
674 | "HEX": "#ED828B"
675 | },
676 | {
677 | "Country": "China",
678 | "Mitig_Option": "CF",
679 | "Mitig_Option_FullName": "Continuously flooded",
680 | "FarmingSystem": "Double rice cropping",
681 | "NonGHGIndicator": "Yield (Output)",
682 | "AFOLU_Sector": "Rice Cultivation",
683 | "Magnitude": 3,
684 | "DescriptionText": "Insert some text here",
685 | "HEX": "#EEEA8E"
686 | },
687 | {
688 | "Country": "China",
689 | "Mitig_Option": "CF",
690 | "Mitig_Option_FullName": "Continuously flooded",
691 | "FarmingSystem": "Integrated rice-duck farming",
692 | "NonGHGIndicator": "Yield (Output)",
693 | "AFOLU_Sector": "Rice Cultivation",
694 | "DescriptionText": "Insert some text here"
695 | },
696 | {
697 | "Country": "China",
698 | "Mitig_Option": "CFMSD",
699 | "Mitig_Option_FullName": "Continuously flooded with midseason drainage",
700 | "FarmingSystem": "Double rice cropping",
701 | "NonGHGIndicator": "Yield (Output)",
702 | "AFOLU_Sector": "Rice Cultivation",
703 | "Magnitude": 5,
704 | "DescriptionText": "Insert some text here",
705 | "HEX": "#A15057"
706 | },
707 | {
708 | "Country": "China",
709 | "Mitig_Option": "ASR-W",
710 | "Mitig_Option_FullName": "Annual straw incorporating in rice-wheat rotation system",
711 | "FarmingSystem": "Conventional rice farming",
712 | "NonGHGIndicator": "Yield (Output)",
713 | "AFOLU_Sector": "Rice Cultivation",
714 | "DescriptionText": "Insert some text here"
715 | },
716 | {
717 | "Country": "China",
718 | "Mitig_Option": "ASBBRR-W",
719 | "Mitig_Option_FullName": "Annual straw-based biogas residues incorporating in rice-wheat rotation system",
720 | "FarmingSystem": "Conventional rice farming",
721 | "NonGHGIndicator": "Yield (Output)",
722 | "AFOLU_Sector": "Rice Cultivation",
723 | "Magnitude": 4,
724 | "DescriptionText": "Insert some text here",
725 | "HEX": "#ED828B"
726 | },
727 | {
728 | "Country": "China",
729 | "Mitig_Option": "R-F",
730 | "Mitig_Option_FullName": "Rice-Fallow rotation system",
731 | "FarmingSystem": "Conventional rice farming",
732 | "NonGHGIndicator": "Yield (Output)",
733 | "AFOLU_Sector": "Rice Cultivation",
734 | "Magnitude": 3,
735 | "DescriptionText": "Insert some text here",
736 | "HEX": "#EEEA8E"
737 | },
738 | {
739 | "Country": "China",
740 | "Mitig_Option": "R-GM",
741 | "Mitig_Option_FullName": "Rice-green manure rotation system",
742 | "FarmingSystem": "Conventional rice farming",
743 | "NonGHGIndicator": "Yield (Output)",
744 | "AFOLU_Sector": "Rice Cultivation",
745 | "Magnitude": 3,
746 | "DescriptionText": "Insert some text here",
747 | "HEX": "#EEEA8E"
748 | },
749 | {
750 | "Country": "China",
751 | "Mitig_Option": "FMSDII",
752 | "Mitig_Option_FullName": "Flood for transplanting and tillering, drainage during the midseason, and intermittent irrigation after midseason",
753 | "FarmingSystem": "Double rice cropping",
754 | "NonGHGIndicator": "Yield (Output)",
755 | "AFOLU_Sector": "Rice Cultivation",
756 | "Magnitude": 2,
757 | "DescriptionText": "Insert some text here",
758 | "HEX": "#87D5ED"
759 | },
760 | {
761 | "Country": "China",
762 | "Mitig_Option": "CISB",
763 | "Mitig_Option_FullName": "Controlled irrigation with straw biochar",
764 | "FarmingSystem": "Conventional rice farming",
765 | "NonGHGIndicator": "Yield (Output)",
766 | "AFOLU_Sector": "Rice Cultivation",
767 | "Magnitude": 1,
768 | "DescriptionText": "Insert some text here",
769 | "HEX": "#7095A1"
770 | },
771 | {
772 | "Country": "China",
773 | "Mitig_Option": "PTSI",
774 | "Mitig_Option_FullName": "Plough tillage with straw incorporation",
775 | "FarmingSystem": "Double rice cropping",
776 | "NonGHGIndicator": "Yield (Output)",
777 | "AFOLU_Sector": "Rice Cultivation",
778 | "Magnitude": 2,
779 | "DescriptionText": "Insert some text here",
780 | "HEX": "#87D5ED"
781 | },
782 | {
783 | "Country": "China",
784 | "Mitig_Option": "PT",
785 | "Mitig_Option_FullName": "Plough tillage without straw incorporation",
786 | "FarmingSystem": "Double rice cropping",
787 | "NonGHGIndicator": "Yield (Output)",
788 | "AFOLU_Sector": "Rice Cultivation",
789 | "Magnitude": 3,
790 | "DescriptionText": "Insert some text here",
791 | "HEX": "#EEEA8E"
792 | },
793 | {
794 | "Country": "China",
795 | "Mitig_Option": "RPF",
796 | "Mitig_Option_FullName": "Regular Polyethylene film",
797 | "FarmingSystem": "Ground cover rice production system",
798 | "NonGHGIndicator": "Yield (Output)",
799 | "AFOLU_Sector": "Rice Cultivation",
800 | "Magnitude": 3,
801 | "DescriptionText": "Insert some text here",
802 | "HEX": "#EEEA8E"
803 | },
804 | {
805 | "Country": "China",
806 | "Mitig_Option": "R-F",
807 | "Mitig_Option_FullName": "Rice-Fallow rotation system",
808 | "FarmingSystem": "Integrated rice-duck farming",
809 | "NonGHGIndicator": "Yield (Output)",
810 | "AFOLU_Sector": "Rice Cultivation",
811 | "DescriptionText": "Insert some text here"
812 | },
813 | {
814 | "Country": "China",
815 | "Mitig_Option": "CFMSD",
816 | "Mitig_Option_FullName": "Continuously flooded with midseason drainage",
817 | "FarmingSystem": "Conventional rice farming",
818 | "NonGHGIndicator": "Yield (Output)",
819 | "AFOLU_Sector": "Rice Cultivation",
820 | "Magnitude": 1,
821 | "DescriptionText": "Insert some text here",
822 | "HEX": "#7095A1"
823 | },
824 | {
825 | "Country": "China",
826 | "Mitig_Option": "R-GM",
827 | "Mitig_Option_FullName": "Rice-green manure rotation system",
828 | "FarmingSystem": "Integrated rice-duck farming",
829 | "NonGHGIndicator": "Yield (Output)",
830 | "AFOLU_Sector": "Rice Cultivation",
831 | "Magnitude": 2,
832 | "DescriptionText": "Insert some text here",
833 | "HEX": "#87D5ED"
834 | },
835 | {
836 | "Country": "China",
837 | "Mitig_Option": "RTSI",
838 | "Mitig_Option_FullName": "Rotary tillage with straw incorporation",
839 | "FarmingSystem": "Double rice cropping",
840 | "NonGHGIndicator": "Yield (Output)",
841 | "AFOLU_Sector": "Rice Cultivation",
842 | "Magnitude": 4,
843 | "DescriptionText": "Insert some text here",
844 | "HEX": "#ED828B"
845 | },
846 | {
847 | "Country": "China",
848 | "Mitig_Option": "TSWD",
849 | "Mitig_Option_FullName": "Thin-shallow-wet-dry",
850 | "FarmingSystem": "Double rice cropping",
851 | "NonGHGIndicator": "Yield (Output)",
852 | "AFOLU_Sector": "Rice Cultivation",
853 | "Magnitude": 3,
854 | "DescriptionText": "Insert some text here",
855 | "HEX": "#EEEA8E"
856 | },
857 | {
858 | "Country": "China",
859 | "Mitig_Option": "ADW",
860 | "Mitig_Option_FullName": "Alternate drying and wetting irrigation",
861 | "FarmingSystem": "Conventional rice farming",
862 | "NonGHGIndicator": "Aboveground Biomass (Output)",
863 | "AFOLU_Sector": "Rice Cultivation",
864 | "DescriptionText": "Insert some text here"
865 | },
866 | {
867 | "Country": "China",
868 | "Mitig_Option": "CF",
869 | "Mitig_Option_FullName": "Continuously flooded",
870 | "FarmingSystem": "Conventional rice farming",
871 | "NonGHGIndicator": "Aboveground Biomass (Output)",
872 | "AFOLU_Sector": "Rice Cultivation",
873 | "Magnitude": 3,
874 | "DescriptionText": "Insert some text here",
875 | "HEX": "#EEEA8E"
876 | },
877 | {
878 | "Country": "China",
879 | "Mitig_Option": "PFMSD",
880 | "Mitig_Option_FullName": "Persistent flooding with midseason drainage",
881 | "FarmingSystem": "Conventional rice farming",
882 | "NonGHGIndicator": "Aboveground Biomass (Output)",
883 | "AFOLU_Sector": "Rice Cultivation",
884 | "Magnitude": 2,
885 | "DescriptionText": "Insert some text here",
886 | "HEX": "#87D5ED"
887 | },
888 | {
889 | "Country": "China",
890 | "Mitig_Option": "ADW",
891 | "Mitig_Option_FullName": "Alternate drying and wetting irrigation",
892 | "FarmingSystem": "Double rice cropping",
893 | "NonGHGIndicator": "Aboveground Biomass (Output)",
894 | "AFOLU_Sector": "Rice Cultivation",
895 | "Magnitude": 3,
896 | "DescriptionText": "Insert some text here",
897 | "HEX": "#EEEA8E"
898 | },
899 | {
900 | "Country": "China",
901 | "Mitig_Option": "CI",
902 | "Mitig_Option_FullName": "Controlled irrigation",
903 | "FarmingSystem": "Conventional rice farming",
904 | "NonGHGIndicator": "Aboveground Biomass (Output)",
905 | "AFOLU_Sector": "Rice Cultivation",
906 | "DescriptionText": "Insert some text here"
907 | },
908 | {
909 | "Country": "China",
910 | "Mitig_Option": "FI",
911 | "Mitig_Option_FullName": "Flooding irrigation",
912 | "FarmingSystem": "Conventional rice farming",
913 | "NonGHGIndicator": "Aboveground Biomass (Output)",
914 | "AFOLU_Sector": "Rice Cultivation",
915 | "DescriptionText": "Insert some text here"
916 | },
917 | {
918 | "Country": "China",
919 | "Mitig_Option": "ASR-W",
920 | "Mitig_Option_FullName": "Annual straw incorporating in rice-wheat rotation system",
921 | "FarmingSystem": "Integrated rice-duck farming",
922 | "NonGHGIndicator": "Aboveground Biomass (Output)",
923 | "AFOLU_Sector": "Rice Cultivation",
924 | "DescriptionText": "Insert some text here"
925 | },
926 | {
927 | "Country": "China",
928 | "Mitig_Option": "ASBBRR-W",
929 | "Mitig_Option_FullName": "Annual straw-based biogas residues incorporating in rice-wheat rotation system",
930 | "FarmingSystem": "Integrated rice-duck farming",
931 | "NonGHGIndicator": "Aboveground Biomass (Output)",
932 | "AFOLU_Sector": "Rice Cultivation",
933 | "Magnitude": 4,
934 | "DescriptionText": "Insert some text here",
935 | "HEX": "#ED828B"
936 | },
937 | {
938 | "Country": "China",
939 | "Mitig_Option": "BDF",
940 | "Mitig_Option_FullName": "Biodegradable film",
941 | "FarmingSystem": "Ground cover rice production system",
942 | "NonGHGIndicator": "Aboveground Biomass (Output)",
943 | "AFOLU_Sector": "Rice Cultivation",
944 | "DescriptionText": "Insert some text here"
945 | },
946 | {
947 | "Country": "China",
948 | "Mitig_Option": "TSWD",
949 | "Mitig_Option_FullName": "Thin-shallow-wet-dry",
950 | "FarmingSystem": "Conventional rice farming",
951 | "NonGHGIndicator": "Aboveground Biomass (Output)",
952 | "AFOLU_Sector": "Rice Cultivation",
953 | "Magnitude": 4,
954 | "DescriptionText": "Insert some text here",
955 | "HEX": "#ED828B"
956 | },
957 | {
958 | "Country": "China",
959 | "Mitig_Option": "CF",
960 | "Mitig_Option_FullName": "Continuously flooded",
961 | "FarmingSystem": "Double rice cropping",
962 | "NonGHGIndicator": "Aboveground Biomass (Output)",
963 | "AFOLU_Sector": "Rice Cultivation",
964 | "Magnitude": 3,
965 | "DescriptionText": "Insert some text here",
966 | "HEX": "#EEEA8E"
967 | },
968 | {
969 | "Country": "China",
970 | "Mitig_Option": "CF",
971 | "Mitig_Option_FullName": "Continuously flooded",
972 | "FarmingSystem": "Integrated rice-duck farming",
973 | "NonGHGIndicator": "Aboveground Biomass (Output)",
974 | "AFOLU_Sector": "Rice Cultivation",
975 | "Magnitude": 3,
976 | "DescriptionText": "Insert some text here",
977 | "HEX": "#EEEA8E"
978 | },
979 | {
980 | "Country": "China",
981 | "Mitig_Option": "CFMSD",
982 | "Mitig_Option_FullName": "Continuously flooded with midseason drainage",
983 | "FarmingSystem": "Double rice cropping",
984 | "NonGHGIndicator": "Aboveground Biomass (Output)",
985 | "AFOLU_Sector": "Rice Cultivation",
986 | "Magnitude": 3,
987 | "DescriptionText": "Insert some text here",
988 | "HEX": "#EEEA8E"
989 | },
990 | {
991 | "Country": "China",
992 | "Mitig_Option": "ASR-W",
993 | "Mitig_Option_FullName": "Annual straw incorporating in rice-wheat rotation system",
994 | "FarmingSystem": "Conventional rice farming",
995 | "NonGHGIndicator": "Aboveground Biomass (Output)",
996 | "AFOLU_Sector": "Rice Cultivation",
997 | "Magnitude": 3,
998 | "DescriptionText": "Insert some text here",
999 | "HEX": "#EEEA8E"
1000 | },
1001 | {
1002 | "Country": "China",
1003 | "Mitig_Option": "ASBBRR-W",
1004 | "Mitig_Option_FullName": "Annual straw-based biogas residues incorporating in rice-wheat rotation system",
1005 | "FarmingSystem": "Conventional rice farming",
1006 | "NonGHGIndicator": "Aboveground Biomass (Output)",
1007 | "AFOLU_Sector": "Rice Cultivation",
1008 | "Magnitude": 2,
1009 | "DescriptionText": "Insert some text here",
1010 | "HEX": "#87D5ED"
1011 | },
1012 | {
1013 | "Country": "China",
1014 | "Mitig_Option": "R-F",
1015 | "Mitig_Option_FullName": "Rice-Fallow rotation system",
1016 | "FarmingSystem": "Conventional rice farming",
1017 | "NonGHGIndicator": "Aboveground Biomass (Output)",
1018 | "AFOLU_Sector": "Rice Cultivation",
1019 | "Magnitude": 4,
1020 | "DescriptionText": "Insert some text here",
1021 | "HEX": "#ED828B"
1022 | },
1023 | {
1024 | "Country": "China",
1025 | "Mitig_Option": "R-GM",
1026 | "Mitig_Option_FullName": "Rice-green manure rotation system",
1027 | "FarmingSystem": "Conventional rice farming",
1028 | "NonGHGIndicator": "Aboveground Biomass (Output)",
1029 | "AFOLU_Sector": "Rice Cultivation",
1030 | "Magnitude": 2,
1031 | "DescriptionText": "Insert some text here",
1032 | "HEX": "#87D5ED"
1033 | },
1034 | {
1035 | "Country": "China",
1036 | "Mitig_Option": "FMSDII",
1037 | "Mitig_Option_FullName": "Flood for transplanting and tillering, drainage during the midseason, and intermittent irrigation after midseason",
1038 | "FarmingSystem": "Double rice cropping",
1039 | "NonGHGIndicator": "Aboveground Biomass (Output)",
1040 | "AFOLU_Sector": "Rice Cultivation",
1041 | "DescriptionText": "Insert some text here"
1042 | },
1043 | {
1044 | "Country": "China",
1045 | "Mitig_Option": "CISB",
1046 | "Mitig_Option_FullName": "Controlled irrigation with straw biochar",
1047 | "FarmingSystem": "Conventional rice farming",
1048 | "NonGHGIndicator": "Aboveground Biomass (Output)",
1049 | "AFOLU_Sector": "Rice Cultivation",
1050 | "DescriptionText": "Insert some text here"
1051 | },
1052 | {
1053 | "Country": "China",
1054 | "Mitig_Option": "PTSI",
1055 | "Mitig_Option_FullName": "Plough tillage with straw incorporation",
1056 | "FarmingSystem": "Double rice cropping",
1057 | "NonGHGIndicator": "Aboveground Biomass (Output)",
1058 | "AFOLU_Sector": "Rice Cultivation",
1059 | "DescriptionText": "Insert some text here"
1060 | },
1061 | {
1062 | "Country": "China",
1063 | "Mitig_Option": "PT",
1064 | "Mitig_Option_FullName": "Plough tillage without straw incorporation",
1065 | "FarmingSystem": "Double rice cropping",
1066 | "NonGHGIndicator": "Aboveground Biomass (Output)",
1067 | "AFOLU_Sector": "Rice Cultivation",
1068 | "DescriptionText": "Insert some text here"
1069 | },
1070 | {
1071 | "Country": "China",
1072 | "Mitig_Option": "RPF",
1073 | "Mitig_Option_FullName": "Regular Polyethylene film",
1074 | "FarmingSystem": "Ground cover rice production system",
1075 | "NonGHGIndicator": "Aboveground Biomass (Output)",
1076 | "AFOLU_Sector": "Rice Cultivation",
1077 | "Magnitude": 4,
1078 | "DescriptionText": "Insert some text here",
1079 | "HEX": "#ED828B"
1080 | },
1081 | {
1082 | "Country": "China",
1083 | "Mitig_Option": "R-F",
1084 | "Mitig_Option_FullName": "Rice-Fallow rotation system",
1085 | "FarmingSystem": "Integrated rice-duck farming",
1086 | "NonGHGIndicator": "Aboveground Biomass (Output)",
1087 | "AFOLU_Sector": "Rice Cultivation",
1088 | "Magnitude": 1,
1089 | "DescriptionText": "Insert some text here",
1090 | "HEX": "#7095A1"
1091 | },
1092 | {
1093 | "Country": "China",
1094 | "Mitig_Option": "CFMSD",
1095 | "Mitig_Option_FullName": "Continuously flooded with midseason drainage",
1096 | "FarmingSystem": "Conventional rice farming",
1097 | "NonGHGIndicator": "Aboveground Biomass (Output)",
1098 | "AFOLU_Sector": "Rice Cultivation",
1099 | "DescriptionText": "Insert some text here"
1100 | },
1101 | {
1102 | "Country": "China",
1103 | "Mitig_Option": "R-GM",
1104 | "Mitig_Option_FullName": "Rice-green manure rotation system",
1105 | "FarmingSystem": "Integrated rice-duck farming",
1106 | "NonGHGIndicator": "Aboveground Biomass (Output)",
1107 | "AFOLU_Sector": "Rice Cultivation",
1108 | "Magnitude": 3,
1109 | "DescriptionText": "Insert some text here",
1110 | "HEX": "#EEEA8E"
1111 | },
1112 | {
1113 | "Country": "China",
1114 | "Mitig_Option": "RTSI",
1115 | "Mitig_Option_FullName": "Rotary tillage with straw incorporation",
1116 | "FarmingSystem": "Double rice cropping",
1117 | "NonGHGIndicator": "Aboveground Biomass (Output)",
1118 | "AFOLU_Sector": "Rice Cultivation",
1119 | "Magnitude": 3,
1120 | "DescriptionText": "Insert some text here",
1121 | "HEX": "#EEEA8E"
1122 | },
1123 | {
1124 | "Country": "China",
1125 | "Mitig_Option": "TSWD",
1126 | "Mitig_Option_FullName": "Thin-shallow-wet-dry",
1127 | "FarmingSystem": "Double rice cropping",
1128 | "NonGHGIndicator": "Aboveground Biomass (Output)",
1129 | "AFOLU_Sector": "Rice Cultivation",
1130 | "DescriptionText": "Insert some text here"
1131 | }
1132 | ]
--------------------------------------------------------------------------------
/fable/consts/221206_BulkDownload.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/consts/221206_BulkDownload.xlsx
--------------------------------------------------------------------------------
/fable/consts/221206_MitigationPotential.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "Party": "China",
4 | "DataSource": "LiteratureReview",
5 | "AFOLU_Sector": "Rice Cultivation",
6 | "FarmingSystem": "Conventional rice farming",
7 | "Unit": "kg CH4/ha",
8 | "MitigationOption": "ADW",
9 | "Mitig_Option_FullName": "Alternate drying and wetting irrigation",
10 | "Min": 207,
11 | "Max": 216.6,
12 | "Median": 211.8,
13 | "Average": 211.8,
14 | "Max_y": 850,
15 | "DescriptionText": "Description Text for Rice Cultivation"
16 | },
17 | {
18 | "Party": "China",
19 | "DataSource": "LiteratureReview",
20 | "AFOLU_Sector": "Rice Cultivation",
21 | "FarmingSystem": "Conventional rice farming",
22 | "Unit": "kg CH4/ha",
23 | "MitigationOption": "ASBBRR-W",
24 | "Mitig_Option_FullName": "Annual straw-based biogas residues incorporating in rice-wheat rotation system",
25 | "Min": 145.8,
26 | "Max": 158.7,
27 | "Median": 152.2,
28 | "Average": 152.2,
29 | "Max_y": 850,
30 | "DescriptionText": "Description Text for Rice Cultivation"
31 | },
32 | {
33 | "Party": "China",
34 | "DataSource": "LiteratureReview",
35 | "AFOLU_Sector": "Rice Cultivation",
36 | "FarmingSystem": "Conventional rice farming",
37 | "Unit": "kg CH4/ha",
38 | "MitigationOption": "ASR-W",
39 | "Mitig_Option_FullName": "Annual straw incorporating in rice-wheat rotation system",
40 | "Min": 268.8,
41 | "Max": 300.5,
42 | "Median": 284.6,
43 | "Average": 284.6,
44 | "Max_y": 850,
45 | "DescriptionText": "Description Text for Rice Cultivation"
46 | },
47 | {
48 | "Party": "China",
49 | "DataSource": "LiteratureReview",
50 | "AFOLU_Sector": "Rice Cultivation",
51 | "FarmingSystem": "Conventional rice farming",
52 | "Unit": "kg CH4/ha",
53 | "MitigationOption": "CF",
54 | "Mitig_Option_FullName": "Continuously flooded",
55 | "Min": 205.4,
56 | "Max": 605,
57 | "Median": 383.2,
58 | "Average": 396.6,
59 | "Max_y": 850,
60 | "DescriptionText": "Description Text for Rice Cultivation"
61 | },
62 | {
63 | "Party": "China",
64 | "DataSource": "LiteratureReview",
65 | "AFOLU_Sector": "Rice Cultivation",
66 | "FarmingSystem": "Conventional rice farming",
67 | "Unit": "kg CH4/ha",
68 | "MitigationOption": "CFMSD",
69 | "Mitig_Option_FullName": "Continuously flooded with midseason drainage",
70 | "Min": 75.4,
71 | "Max": 83.5,
72 | "Median": 79.4,
73 | "Average": 79.4,
74 | "Max_y": 850,
75 | "DescriptionText": "Description Text for Rice Cultivation"
76 | },
77 | {
78 | "Party": "China",
79 | "DataSource": "LiteratureReview",
80 | "AFOLU_Sector": "Rice Cultivation",
81 | "FarmingSystem": "Conventional rice farming",
82 | "Unit": "kg CH4/ha",
83 | "MitigationOption": "CI",
84 | "Mitig_Option_FullName": "Controlled irrigation",
85 | "Min": 18.8,
86 | "Max": 154,
87 | "Median": 50.1,
88 | "Average": 68.3,
89 | "Max_y": 850,
90 | "DescriptionText": "Description Text for Rice Cultivation"
91 | },
92 | {
93 | "Party": "China",
94 | "DataSource": "LiteratureReview",
95 | "AFOLU_Sector": "Rice Cultivation",
96 | "FarmingSystem": "Conventional rice farming",
97 | "Unit": "kg CH4/ha",
98 | "MitigationOption": "CISB",
99 | "Mitig_Option_FullName": "Controlled irrigation with straw biochar",
100 | "Min": 53.1,
101 | "Max": 130,
102 | "Median": 89.4,
103 | "Average": 90.5,
104 | "Max_y": 850,
105 | "DescriptionText": "Description Text for Rice Cultivation"
106 | },
107 | {
108 | "Party": "China",
109 | "DataSource": "LiteratureReview",
110 | "AFOLU_Sector": "Rice Cultivation",
111 | "FarmingSystem": "Conventional rice farming",
112 | "Unit": "kg CH4/ha",
113 | "MitigationOption": "FI",
114 | "Mitig_Option_FullName": "Flooding irrigation",
115 | "Min": 70.1,
116 | "Max": 164,
117 | "Median": 117,
118 | "Average": 117,
119 | "Max_y": 850,
120 | "DescriptionText": "Description Text for Rice Cultivation"
121 | },
122 | {
123 | "Party": "China",
124 | "DataSource": "LiteratureReview",
125 | "AFOLU_Sector": "Rice Cultivation",
126 | "FarmingSystem": "Conventional rice farming",
127 | "Unit": "kg CH4/ha",
128 | "MitigationOption": "PFMSD",
129 | "Mitig_Option_FullName": "Persistent flooding with midseason drainage",
130 | "Min": 6,
131 | "Max": 385,
132 | "Median": 166,
133 | "Average": 167.8,
134 | "Max_y": 850,
135 | "DescriptionText": "Description Text for Rice Cultivation"
136 | },
137 | {
138 | "Party": "China",
139 | "DataSource": "LiteratureReview",
140 | "AFOLU_Sector": "Rice Cultivation",
141 | "FarmingSystem": "Conventional rice farming",
142 | "Unit": "kg CH4/ha",
143 | "MitigationOption": "R-F",
144 | "Mitig_Option_FullName": "Rice-Fallow rotation system",
145 | "Min": 129.8,
146 | "Max": 144.8,
147 | "Median": 137.3,
148 | "Average": 137.3,
149 | "Max_y": 850,
150 | "DescriptionText": "Description Text for Rice Cultivation"
151 | },
152 | {
153 | "Party": "China",
154 | "DataSource": "LiteratureReview",
155 | "AFOLU_Sector": "Rice Cultivation",
156 | "FarmingSystem": "Conventional rice farming",
157 | "Unit": "kg CH4/ha",
158 | "MitigationOption": "R-GM",
159 | "Mitig_Option_FullName": "Rice-green manure rotation system",
160 | "Min": 164.8,
161 | "Max": 176.4,
162 | "Median": 170.6,
163 | "Average": 170.6,
164 | "Max_y": 850,
165 | "DescriptionText": "Description Text for Rice Cultivation"
166 | },
167 | {
168 | "Party": "China",
169 | "DataSource": "LiteratureReview",
170 | "AFOLU_Sector": "Rice Cultivation",
171 | "FarmingSystem": "Conventional rice farming",
172 | "Unit": "kg N2O/ha",
173 | "MitigationOption": "ASBBRR-W",
174 | "Mitig_Option_FullName": "Annual straw-based biogas residues incorporating in rice-wheat rotation system",
175 | "Min": 1.5,
176 | "Max": 1.9,
177 | "Median": 1.7,
178 | "Average": 1.7,
179 | "Max_y": 9,
180 | "DescriptionText": "Description Text for Rice Cultivation"
181 | },
182 | {
183 | "Party": "China",
184 | "DataSource": "LiteratureReview",
185 | "AFOLU_Sector": "Rice Cultivation",
186 | "FarmingSystem": "Conventional rice farming",
187 | "Unit": "kg N2O/ha",
188 | "MitigationOption": "ASR-W",
189 | "Mitig_Option_FullName": "Annual straw incorporating in rice-wheat rotation system",
190 | "Min": 1.2,
191 | "Max": 1.7,
192 | "Median": 1.5,
193 | "Average": 1.5,
194 | "Max_y": 9,
195 | "DescriptionText": "Description Text for Rice Cultivation"
196 | },
197 | {
198 | "Party": "China",
199 | "DataSource": "LiteratureReview",
200 | "AFOLU_Sector": "Rice Cultivation",
201 | "FarmingSystem": "Conventional rice farming",
202 | "Unit": "kg N2O/ha",
203 | "MitigationOption": "CF",
204 | "Mitig_Option_FullName": "Continuously flooded",
205 | "Min": 0.1,
206 | "Max": 2.3,
207 | "Median": 0.9,
208 | "Average": 1,
209 | "Max_y": 9,
210 | "DescriptionText": "Description Text for Rice Cultivation"
211 | },
212 | {
213 | "Party": "China",
214 | "DataSource": "LiteratureReview",
215 | "AFOLU_Sector": "Rice Cultivation",
216 | "FarmingSystem": "Conventional rice farming",
217 | "Unit": "kg N2O/ha",
218 | "MitigationOption": "CFMSD",
219 | "Mitig_Option_FullName": "Continuously flooded with midseason drainage",
220 | "Min": 1,
221 | "Max": 3.5,
222 | "Median": 2.2,
223 | "Average": 2.2,
224 | "Max_y": 9,
225 | "DescriptionText": "Description Text for Rice Cultivation"
226 | },
227 | {
228 | "Party": "China",
229 | "DataSource": "LiteratureReview",
230 | "AFOLU_Sector": "Rice Cultivation",
231 | "FarmingSystem": "Conventional rice farming",
232 | "Unit": "kg N2O/ha",
233 | "MitigationOption": "CI",
234 | "Mitig_Option_FullName": "Controlled irrigation",
235 | "Min": 1.1,
236 | "Max": 5.2,
237 | "Median": 4.4,
238 | "Average": 3.6,
239 | "Max_y": 9,
240 | "DescriptionText": "Description Text for Rice Cultivation"
241 | },
242 | {
243 | "Party": "China",
244 | "DataSource": "LiteratureReview",
245 | "AFOLU_Sector": "Rice Cultivation",
246 | "FarmingSystem": "Conventional rice farming",
247 | "Unit": "kg N2O/ha",
248 | "MitigationOption": "CISB",
249 | "Mitig_Option_FullName": "Controlled irrigation with straw biochar",
250 | "Min": 1.9,
251 | "Max": 8.7,
252 | "Median": 3.6,
253 | "Average": 4.4,
254 | "Max_y": 9,
255 | "DescriptionText": "Description Text for Rice Cultivation"
256 | },
257 | {
258 | "Party": "China",
259 | "DataSource": "LiteratureReview",
260 | "AFOLU_Sector": "Rice Cultivation",
261 | "FarmingSystem": "Conventional rice farming",
262 | "Unit": "kg N2O/ha",
263 | "MitigationOption": "FI",
264 | "Mitig_Option_FullName": "Flooding irrigation",
265 | "Min": 1,
266 | "Max": 1,
267 | "Median": 1,
268 | "Average": 1,
269 | "Max_y": 9,
270 | "DescriptionText": "Description Text for Rice Cultivation"
271 | },
272 | {
273 | "Party": "China",
274 | "DataSource": "LiteratureReview",
275 | "AFOLU_Sector": "Rice Cultivation",
276 | "FarmingSystem": "Conventional rice farming",
277 | "Unit": "kg N2O/ha",
278 | "MitigationOption": "R-F",
279 | "Mitig_Option_FullName": "Rice-Fallow rotation system",
280 | "Min": 1.5,
281 | "Max": 1.9,
282 | "Median": 1.7,
283 | "Average": 1.7,
284 | "Max_y": 9,
285 | "DescriptionText": "Description Text for Rice Cultivation"
286 | },
287 | {
288 | "Party": "China",
289 | "DataSource": "LiteratureReview",
290 | "AFOLU_Sector": "Rice Cultivation",
291 | "FarmingSystem": "Conventional rice farming",
292 | "Unit": "kg N2O/ha",
293 | "MitigationOption": "R-GM",
294 | "Mitig_Option_FullName": "Rice-green manure rotation system",
295 | "Min": 1.6,
296 | "Max": 2.2,
297 | "Median": 1.9,
298 | "Average": 1.9,
299 | "Max_y": 9,
300 | "DescriptionText": "Description Text for Rice Cultivation"
301 | },
302 | {
303 | "Party": "China",
304 | "DataSource": "LiteratureReview",
305 | "AFOLU_Sector": "Rice Cultivation",
306 | "FarmingSystem": "Double rice cropping",
307 | "Unit": "kg CH4/ha",
308 | "MitigationOption": "CF",
309 | "Mitig_Option_FullName": "Continuously flooded",
310 | "Min": 840.7,
311 | "Max": 840.7,
312 | "Median": 840.7,
313 | "Average": 840.7,
314 | "Max_y": 850,
315 | "DescriptionText": "Description Text for Rice Cultivation"
316 | },
317 | {
318 | "Party": "China",
319 | "DataSource": "LiteratureReview",
320 | "AFOLU_Sector": "Rice Cultivation",
321 | "FarmingSystem": "Double rice cropping",
322 | "Unit": "kg CH4/ha",
323 | "MitigationOption": "CFMSD",
324 | "Mitig_Option_FullName": "Continuously flooded with midseason drainage",
325 | "Min": 508.4,
326 | "Max": 508.4,
327 | "Median": 508.4,
328 | "Average": 508.4,
329 | "Max_y": 850,
330 | "DescriptionText": "Description Text for Rice Cultivation"
331 | },
332 | {
333 | "Party": "China",
334 | "DataSource": "LiteratureReview",
335 | "AFOLU_Sector": "Rice Cultivation",
336 | "FarmingSystem": "Double rice cropping",
337 | "Unit": "kg CH4/ha",
338 | "MitigationOption": "FMSDII",
339 | "Mitig_Option_FullName": "Flood for transplanting and tillering, drainage during the midseason, and intermittent irrigation after midseason",
340 | "Min": 396.1,
341 | "Max": 396.1,
342 | "Median": 396.1,
343 | "Average": 396.1,
344 | "Max_y": 850,
345 | "DescriptionText": "Description Text for Rice Cultivation"
346 | },
347 | {
348 | "Party": "China",
349 | "DataSource": "LiteratureReview",
350 | "AFOLU_Sector": "Rice Cultivation",
351 | "FarmingSystem": "Double rice cropping",
352 | "Unit": "kg CH4/ha",
353 | "MitigationOption": "PT",
354 | "Mitig_Option_FullName": "Plough tillage without straw incorporation",
355 | "Min": 183.5,
356 | "Max": 219.5,
357 | "Median": 201.5,
358 | "Average": 201.5,
359 | "Max_y": 850,
360 | "DescriptionText": "Description Text for Rice Cultivation"
361 | },
362 | {
363 | "Party": "China",
364 | "DataSource": "LiteratureReview",
365 | "AFOLU_Sector": "Rice Cultivation",
366 | "FarmingSystem": "Double rice cropping",
367 | "Unit": "kg CH4/ha",
368 | "MitigationOption": "PTSI",
369 | "Mitig_Option_FullName": "Plough tillage with straw incorporation",
370 | "Min": 214.8,
371 | "Max": 280,
372 | "Median": 247.4,
373 | "Average": 247.4,
374 | "Max_y": 850,
375 | "DescriptionText": "Description Text for Rice Cultivation"
376 | },
377 | {
378 | "Party": "China",
379 | "DataSource": "LiteratureReview",
380 | "AFOLU_Sector": "Rice Cultivation",
381 | "FarmingSystem": "Double rice cropping",
382 | "Unit": "kg CH4/ha",
383 | "MitigationOption": "RTSI",
384 | "Mitig_Option_FullName": "Rotary tillage with straw incorporation",
385 | "Min": 289,
386 | "Max": 400.5,
387 | "Median": 324.8,
388 | "Average": 334.8,
389 | "Max_y": 850,
390 | "DescriptionText": "Description Text for Rice Cultivation"
391 | },
392 | {
393 | "Party": "China",
394 | "DataSource": "LiteratureReview",
395 | "AFOLU_Sector": "Rice Cultivation",
396 | "FarmingSystem": "Double rice cropping",
397 | "Unit": "kg N2O/ha",
398 | "MitigationOption": "ADW",
399 | "Mitig_Option_FullName": "Alternate drying and wetting irrigation",
400 | "Min": 0.4,
401 | "Max": 0.7,
402 | "Median": 0.5,
403 | "Average": 0.5,
404 | "Max_y": 9,
405 | "DescriptionText": "Description Text for Rice Cultivation"
406 | },
407 | {
408 | "Party": "China",
409 | "DataSource": "LiteratureReview",
410 | "AFOLU_Sector": "Rice Cultivation",
411 | "FarmingSystem": "Double rice cropping",
412 | "Unit": "kg N2O/ha",
413 | "MitigationOption": "CF",
414 | "Mitig_Option_FullName": "Continuously flooded",
415 | "Min": 0.2,
416 | "Max": 5.1,
417 | "Median": 2.7,
418 | "Average": 2.7,
419 | "Max_y": 9,
420 | "DescriptionText": "Description Text for Rice Cultivation"
421 | },
422 | {
423 | "Party": "China",
424 | "DataSource": "LiteratureReview",
425 | "AFOLU_Sector": "Rice Cultivation",
426 | "FarmingSystem": "Double rice cropping",
427 | "Unit": "kg N2O/ha",
428 | "MitigationOption": "CFMSD",
429 | "Mitig_Option_FullName": "Continuously flooded with midseason drainage",
430 | "Min": 4.3,
431 | "Max": 4.3,
432 | "Median": 4.3,
433 | "Average": 4.3,
434 | "Max_y": 9,
435 | "DescriptionText": "Description Text for Rice Cultivation"
436 | },
437 | {
438 | "Party": "China",
439 | "DataSource": "LiteratureReview",
440 | "AFOLU_Sector": "Rice Cultivation",
441 | "FarmingSystem": "Double rice cropping",
442 | "Unit": "kg N2O/ha",
443 | "MitigationOption": "FMSDII",
444 | "Mitig_Option_FullName": "Flood for transplanting and tillering, drainage during the midseason, and intermittent irrigation after midseason",
445 | "Min": 7.6,
446 | "Max": 7.6,
447 | "Median": 7.6,
448 | "Average": 7.6,
449 | "Max_y": 9,
450 | "DescriptionText": "Description Text for Rice Cultivation"
451 | },
452 | {
453 | "Party": "China",
454 | "DataSource": "LiteratureReview",
455 | "AFOLU_Sector": "Rice Cultivation",
456 | "FarmingSystem": "Double rice cropping",
457 | "Unit": "kg N2O/ha",
458 | "MitigationOption": "PT",
459 | "Mitig_Option_FullName": "Plough tillage without straw incorporation",
460 | "Min": 1.5,
461 | "Max": 4.1,
462 | "Median": 2.8,
463 | "Average": 2.8,
464 | "Max_y": 9,
465 | "DescriptionText": "Description Text for Rice Cultivation"
466 | },
467 | {
468 | "Party": "China",
469 | "DataSource": "LiteratureReview",
470 | "AFOLU_Sector": "Rice Cultivation",
471 | "FarmingSystem": "Double rice cropping",
472 | "Unit": "kg N2O/ha",
473 | "MitigationOption": "PTSI",
474 | "Mitig_Option_FullName": "Plough tillage with straw incorporation",
475 | "Min": 1.1,
476 | "Max": 3.6,
477 | "Median": 2.4,
478 | "Average": 2.4,
479 | "Max_y": 9,
480 | "DescriptionText": "Description Text for Rice Cultivation"
481 | },
482 | {
483 | "Party": "China",
484 | "DataSource": "LiteratureReview",
485 | "AFOLU_Sector": "Rice Cultivation",
486 | "FarmingSystem": "Double rice cropping",
487 | "Unit": "kg N2O/ha",
488 | "MitigationOption": "RTSI",
489 | "Mitig_Option_FullName": "Rotary tillage with straw incorporation",
490 | "Min": 1.2,
491 | "Max": 4.5,
492 | "Median": 2.8,
493 | "Average": 2.8,
494 | "Max_y": 9,
495 | "DescriptionText": "Description Text for Rice Cultivation"
496 | },
497 | {
498 | "Party": "China",
499 | "DataSource": "LiteratureReview",
500 | "AFOLU_Sector": "Rice Cultivation",
501 | "FarmingSystem": "Double rice cropping",
502 | "Unit": "kg N2O/ha",
503 | "MitigationOption": "TSWD",
504 | "Mitig_Option_FullName": "Thin-shallow-wet-dry",
505 | "Min": 0.1,
506 | "Max": 0.2,
507 | "Median": 0.1,
508 | "Average": 0.1,
509 | "Max_y": 9,
510 | "DescriptionText": "Description Text for Rice Cultivation"
511 | },
512 | {
513 | "Party": "China",
514 | "DataSource": "LiteratureReview",
515 | "AFOLU_Sector": "Rice Cultivation",
516 | "FarmingSystem": "Ground cover rice production system",
517 | "Unit": "kg CH4/ha",
518 | "MitigationOption": "BDF",
519 | "Mitig_Option_FullName": "Biodegradable film",
520 | "Min": 18.4,
521 | "Max": 24,
522 | "Median": 21.2,
523 | "Average": 21.2,
524 | "Max_y": 850,
525 | "DescriptionText": "Description Text for Rice Cultivation"
526 | },
527 | {
528 | "Party": "China",
529 | "DataSource": "LiteratureReview",
530 | "AFOLU_Sector": "Rice Cultivation",
531 | "FarmingSystem": "Ground cover rice production system",
532 | "Unit": "kg CH4/ha",
533 | "MitigationOption": "RPF",
534 | "Mitig_Option_FullName": "Regular Polyethylene film",
535 | "Min": 10.9,
536 | "Max": 31.7,
537 | "Median": 21.9,
538 | "Average": 21.6,
539 | "Max_y": 850,
540 | "DescriptionText": "Description Text for Rice Cultivation"
541 | },
542 | {
543 | "Party": "China",
544 | "DataSource": "LiteratureReview",
545 | "AFOLU_Sector": "Rice Cultivation",
546 | "FarmingSystem": "Ground cover rice production system",
547 | "Unit": "kg N2O/ha",
548 | "MitigationOption": "BDF",
549 | "Mitig_Option_FullName": "Biodegradable film",
550 | "Min": 0.8,
551 | "Max": 3.4,
552 | "Median": 2.1,
553 | "Average": 2.1,
554 | "Max_y": 9,
555 | "DescriptionText": "Description Text for Rice Cultivation"
556 | },
557 | {
558 | "Party": "China",
559 | "DataSource": "LiteratureReview",
560 | "AFOLU_Sector": "Rice Cultivation",
561 | "FarmingSystem": "Ground cover rice production system",
562 | "Unit": "kg N2O/ha",
563 | "MitigationOption": "RPF",
564 | "Mitig_Option_FullName": "Regular Polyethylene film",
565 | "Min": 0.8,
566 | "Max": 4.7,
567 | "Median": 2.5,
568 | "Average": 2.6,
569 | "Max_y": 9,
570 | "DescriptionText": "Description Text for Rice Cultivation"
571 | },
572 | {
573 | "Party": "China",
574 | "DataSource": "LiteratureReview",
575 | "AFOLU_Sector": "Rice Cultivation",
576 | "FarmingSystem": "Integrated rice-duck farming",
577 | "Unit": "kg CH4/ha",
578 | "MitigationOption": "ASBBRR-W",
579 | "Mitig_Option_FullName": "Annual straw-based biogas residues incorporating in rice-wheat rotation system",
580 | "Min": 133,
581 | "Max": 139.1,
582 | "Median": 136.1,
583 | "Average": 136.1,
584 | "Max_y": 850,
585 | "DescriptionText": "Description Text for Rice Cultivation"
586 | },
587 | {
588 | "Party": "China",
589 | "DataSource": "LiteratureReview",
590 | "AFOLU_Sector": "Rice Cultivation",
591 | "FarmingSystem": "Integrated rice-duck farming",
592 | "Unit": "kg CH4/ha",
593 | "MitigationOption": "ASR-W",
594 | "Mitig_Option_FullName": "Annual straw incorporating in rice-wheat rotation system",
595 | "Min": 223.9,
596 | "Max": 253.1,
597 | "Median": 238.5,
598 | "Average": 238.5,
599 | "Max_y": 850,
600 | "DescriptionText": "Description Text for Rice Cultivation"
601 | },
602 | {
603 | "Party": "China",
604 | "DataSource": "LiteratureReview",
605 | "AFOLU_Sector": "Rice Cultivation",
606 | "FarmingSystem": "Integrated rice-duck farming",
607 | "Unit": "kg CH4/ha",
608 | "MitigationOption": "CF",
609 | "Mitig_Option_FullName": "Continuously flooded",
610 | "Min": 138.2,
611 | "Max": 179.2,
612 | "Median": 158.7,
613 | "Average": 158.7,
614 | "Max_y": 850,
615 | "DescriptionText": "Description Text for Rice Cultivation"
616 | },
617 | {
618 | "Party": "China",
619 | "DataSource": "LiteratureReview",
620 | "AFOLU_Sector": "Rice Cultivation",
621 | "FarmingSystem": "Integrated rice-duck farming",
622 | "Unit": "kg CH4/ha",
623 | "MitigationOption": "R-F",
624 | "Mitig_Option_FullName": "Rice-Fallow rotation system",
625 | "Min": 117.8,
626 | "Max": 129,
627 | "Median": 123.4,
628 | "Average": 123.4,
629 | "Max_y": 850,
630 | "DescriptionText": "Description Text for Rice Cultivation"
631 | },
632 | {
633 | "Party": "China",
634 | "DataSource": "LiteratureReview",
635 | "AFOLU_Sector": "Rice Cultivation",
636 | "FarmingSystem": "Integrated rice-duck farming",
637 | "Unit": "kg CH4/ha",
638 | "MitigationOption": "R-GM",
639 | "Mitig_Option_FullName": "Rice-green manure rotation system",
640 | "Min": 140.3,
641 | "Max": 151.4,
642 | "Median": 145.9,
643 | "Average": 145.9,
644 | "Max_y": 850,
645 | "DescriptionText": "Description Text for Rice Cultivation"
646 | },
647 | {
648 | "Party": "China",
649 | "DataSource": "LiteratureReview",
650 | "AFOLU_Sector": "Rice Cultivation",
651 | "FarmingSystem": "Integrated rice-duck farming",
652 | "Unit": "kg N2O/ha",
653 | "MitigationOption": "ASBBRR-W",
654 | "Mitig_Option_FullName": "Annual straw-based biogas residues incorporating in rice-wheat rotation system",
655 | "Min": 1.6,
656 | "Max": 2.1,
657 | "Median": 1.9,
658 | "Average": 1.9,
659 | "Max_y": 9,
660 | "DescriptionText": "Description Text for Rice Cultivation"
661 | },
662 | {
663 | "Party": "China",
664 | "DataSource": "LiteratureReview",
665 | "AFOLU_Sector": "Rice Cultivation",
666 | "FarmingSystem": "Integrated rice-duck farming",
667 | "Unit": "kg N2O/ha",
668 | "MitigationOption": "ASR-W",
669 | "Mitig_Option_FullName": "Annual straw incorporating in rice-wheat rotation system",
670 | "Min": 1.4,
671 | "Max": 1.9,
672 | "Median": 1.7,
673 | "Average": 1.7,
674 | "Max_y": 9,
675 | "DescriptionText": "Description Text for Rice Cultivation"
676 | },
677 | {
678 | "Party": "China",
679 | "DataSource": "LiteratureReview",
680 | "AFOLU_Sector": "Rice Cultivation",
681 | "FarmingSystem": "Integrated rice-duck farming",
682 | "Unit": "kg N2O/ha",
683 | "MitigationOption": "CF",
684 | "Mitig_Option_FullName": "Continuously flooded",
685 | "Min": 0.8,
686 | "Max": 1.1,
687 | "Median": 1,
688 | "Average": 1,
689 | "Max_y": 9,
690 | "DescriptionText": "Description Text for Rice Cultivation"
691 | },
692 | {
693 | "Party": "China",
694 | "DataSource": "LiteratureReview",
695 | "AFOLU_Sector": "Rice Cultivation",
696 | "FarmingSystem": "Integrated rice-duck farming",
697 | "Unit": "kg N2O/ha",
698 | "MitigationOption": "R-F",
699 | "Mitig_Option_FullName": "Rice-Fallow rotation system",
700 | "Min": 1.6,
701 | "Max": 2,
702 | "Median": 1.8,
703 | "Average": 1.8,
704 | "Max_y": 9,
705 | "DescriptionText": "Description Text for Rice Cultivation"
706 | },
707 | {
708 | "Party": "China",
709 | "DataSource": "LiteratureReview",
710 | "AFOLU_Sector": "Rice Cultivation",
711 | "FarmingSystem": "Integrated rice-duck farming",
712 | "Unit": "kg N2O/ha",
713 | "MitigationOption": "R-GM",
714 | "Mitig_Option_FullName": "Rice-green manure rotation system",
715 | "Min": 1.7,
716 | "Max": 2.4,
717 | "Median": 2,
718 | "Average": 2,
719 | "Max_y": 9,
720 | "DescriptionText": "Description Text for Rice Cultivation"
721 | },
722 | {
723 | "Party": "China",
724 | "DataSource": "FAO",
725 | "AFOLU_Sector": "Rice Cultivation",
726 | "FarmingSystem": "Conventional rice farming",
727 | "Unit": "kg CH4/ha",
728 | "Historical": 175.7,
729 | "AnchorText": "3-year average over 2018-2020: 175.7",
730 | "Max_y": 850,
731 | "DescriptionText": "Description Text for Rice Cultivation"
732 | },
733 | {
734 | "Party": "China",
735 | "DataSource": "IPCC",
736 | "AFOLU_Sector": "Rice Cultivation",
737 | "FarmingSystem": "Conventional rice farming",
738 | "Unit": "kg CH4/ha",
739 | "Historical": 130,
740 | "AnchorText": "IPCC 1996 default: 130",
741 | "Max_y": 850,
742 | "DescriptionText": "Description Text for Rice Cultivation"
743 | },
744 | {
745 | "Party": "China",
746 | "DataSource": "FAO",
747 | "AFOLU_Sector": "Rice Cultivation",
748 | "FarmingSystem": "Double rice cropping",
749 | "Unit": "kg CH4/ha",
750 | "Historical": 175.7,
751 | "AnchorText": "3-year average over 2018-2020: 175.7",
752 | "Max_y": 850,
753 | "DescriptionText": "Description Text for Rice Cultivation"
754 | },
755 | {
756 | "Party": "China",
757 | "DataSource": "IPCC",
758 | "AFOLU_Sector": "Rice Cultivation",
759 | "FarmingSystem": "Double rice cropping",
760 | "Unit": "kg CH4/ha",
761 | "Historical": 130,
762 | "AnchorText": "IPCC 1996 default: 130",
763 | "Max_y": 850,
764 | "DescriptionText": "Description Text for Rice Cultivation"
765 | },
766 | {
767 | "Party": "China",
768 | "DataSource": "FAO",
769 | "AFOLU_Sector": "Rice Cultivation",
770 | "FarmingSystem": "Ground cover rice production system",
771 | "Unit": "kg CH4/ha",
772 | "Historical": 175.7,
773 | "AnchorText": "3-year average over 2018-2020: 175.7",
774 | "Max_y": 850,
775 | "DescriptionText": "Description Text for Rice Cultivation"
776 | },
777 | {
778 | "Party": "China",
779 | "DataSource": "IPCC",
780 | "AFOLU_Sector": "Rice Cultivation",
781 | "FarmingSystem": "Ground cover rice production system",
782 | "Unit": "kg CH4/ha",
783 | "Historical": 130,
784 | "AnchorText": "IPCC 1996 default: 130",
785 | "Max_y": 850,
786 | "DescriptionText": "Description Text for Rice Cultivation"
787 | },
788 | {
789 | "Party": "China",
790 | "DataSource": "FAO",
791 | "AFOLU_Sector": "Rice Cultivation",
792 | "FarmingSystem": "Integrated rice-duck farming",
793 | "Unit": "kg CH4/ha",
794 | "Historical": 175.7,
795 | "AnchorText": "3-year average over 2018-2020: 175.7",
796 | "Max_y": 850,
797 | "DescriptionText": "Description Text for Rice Cultivation"
798 | },
799 | {
800 | "Party": "China",
801 | "DataSource": "IPCC",
802 | "AFOLU_Sector": "Rice Cultivation",
803 | "FarmingSystem": "Integrated rice-duck farming",
804 | "Unit": "kg CH4/ha",
805 | "Historical": 130,
806 | "AnchorText": "IPCC 1996 default: 130",
807 | "Max_y": 850,
808 | "DescriptionText": "Description Text for Rice Cultivation"
809 | },
810 | {
811 | "Party": "China",
812 | "DataSource": "LiteratureReview",
813 | "AFOLU_Sector": "Enteric Fermentation",
814 | "FarmingSystem": "Dairy cattle",
815 | "Unit": "kg CH4/head",
816 | "MitigationOption": "Feed intake",
817 | "Mitig_Option_FullName": "Feed intake",
818 | "Min": 39.7,
819 | "Max": 64.8,
820 | "Median": 57.6,
821 | "Average": 54.1,
822 | "Max_y": 80,
823 | "DescriptionText": "Description Text for Enteric Fermentation"
824 | },
825 | {
826 | "Party": "China",
827 | "DataSource": "LiteratureReview",
828 | "AFOLU_Sector": "Enteric Fermentation",
829 | "FarmingSystem": "Dairy cattle",
830 | "Unit": "kg CH4/head",
831 | "MitigationOption": "Genetical improvement",
832 | "Mitig_Option_FullName": "Genetical improvement",
833 | "Min": 53.2,
834 | "Max": 68.4,
835 | "Median": 60.8,
836 | "Average": 60.8,
837 | "Max_y": 80,
838 | "DescriptionText": "Description Text for Enteric Fermentation"
839 | },
840 | {
841 | "Party": "China",
842 | "DataSource": "LiteratureReview",
843 | "AFOLU_Sector": "Enteric Fermentation",
844 | "FarmingSystem": "Dairy cattle",
845 | "Unit": "kg CH4/head",
846 | "MitigationOption": "No control",
847 | "Mitig_Option_FullName": "No control",
848 | "Min": 56,
849 | "Max": 72,
850 | "Median": 64,
851 | "Average": 64,
852 | "Max_y": 80,
853 | "DescriptionText": "Description Text for Enteric Fermentation"
854 | },
855 | {
856 | "Party": "China",
857 | "DataSource": "LiteratureReview",
858 | "AFOLU_Sector": "Enteric Fermentation",
859 | "FarmingSystem": "Other cattle",
860 | "Unit": "kg CH4/head",
861 | "MitigationOption": "Feed intake",
862 | "Mitig_Option_FullName": "Feed intake",
863 | "Min": 27.6,
864 | "Max": 45,
865 | "Median": 40.4,
866 | "Average": 38.7,
867 | "Max_y": 80,
868 | "DescriptionText": "Description Text for Enteric Fermentation"
869 | },
870 | {
871 | "Party": "China",
872 | "DataSource": "LiteratureReview",
873 | "AFOLU_Sector": "Enteric Fermentation",
874 | "FarmingSystem": "Other cattle",
875 | "Unit": "kg CH4/head",
876 | "MitigationOption": "Genetical improvement",
877 | "Mitig_Option_FullName": "Genetical improvement",
878 | "Min": 41.8,
879 | "Max": 42.8,
880 | "Median": 42.3,
881 | "Average": 42.3,
882 | "Max_y": 80,
883 | "DescriptionText": "Description Text for Enteric Fermentation"
884 | },
885 | {
886 | "Party": "China",
887 | "DataSource": "LiteratureReview",
888 | "AFOLU_Sector": "Enteric Fermentation",
889 | "FarmingSystem": "Other cattle",
890 | "Unit": "kg CH4/head",
891 | "MitigationOption": "No control",
892 | "Mitig_Option_FullName": "No control",
893 | "Min": 44,
894 | "Max": 45,
895 | "Median": 44.5,
896 | "Average": 44.5,
897 | "Max_y": 80,
898 | "DescriptionText": "Description Text for Enteric Fermentation"
899 | },
900 | {
901 | "Party": "China",
902 | "DataSource": "FAO",
903 | "AFOLU_Sector": "Enteric Fermentation",
904 | "FarmingSystem": "Dairy cattle",
905 | "Unit": "kg CH4/head",
906 | "Historical": 68,
907 | "AnchorText": "3-year average over 2018-2020: 68",
908 | "Max_y": 80,
909 | "DescriptionText": "Description Text for Enteric Fermentation"
910 | },
911 | {
912 | "Party": "China",
913 | "DataSource": "FAO",
914 | "AFOLU_Sector": "Enteric Fermentation",
915 | "FarmingSystem": "Other cattle",
916 | "Unit": "kg CH4/head",
917 | "Historical": 47,
918 | "AnchorText": "3-year average over 2018-2020: 47",
919 | "Max_y": 80,
920 | "DescriptionText": "Description Text for Enteric Fermentation"
921 | }
922 | ]
--------------------------------------------------------------------------------
/fable/consts/221212_Readme.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "": "Online Mitigation Option"
4 | },
5 | {},
6 | {
7 | "": "1. Overview"
8 | },
9 | {
10 | "": "Data used:"
11 | },
12 | {
13 | "": "UNFCCC GHG Data Interface: https://di.unfccc.int/flex_non_annex1"
14 | },
15 | {
16 | "": "Climate Watch Historical GHG Emissions. 2022. Washington, DC: World Resources Institute. Available online at: https://www.climatewatchdata.org/ghg-emissions"
17 | },
18 | {
19 | "": "FAO, 2022. FAOSTAT Climate Change, Emissions, Emissions Totals, http://www.fao.org/faostat/en/#data/GT"
20 | },
21 | {},
22 | {
23 | "": "2. Mitigation Reduction Potential"
24 | },
25 | {
26 | "": "Data used:"
27 | },
28 | {},
29 | {},
30 | {
31 | "": "3. Trade-offs and Synergies"
32 | },
33 | {},
34 | {},
35 | {},
36 | {
37 | "": "Citation:"
38 | }
39 | ]
--------------------------------------------------------------------------------
/fable/consts/consts.js:
--------------------------------------------------------------------------------
1 | export const CATEGORY_AFOLU = "AFOLU";
2 | export const CAPTION_TEXT_EMISSION_REDUCTION_POTENTIAL =
3 | "Emission Factor per System";
4 | export const CAPTION_TEXT_TRADE_OFF_SYNERGIES_OUTPUT =
5 | "Scaling mitigation relationship with non-GHG outputs";
6 | export const CAPTION_TEXT_TRADE_OFF_SYNERGIES_INPUT =
7 | "Scaling mitigation relationship with non-GHG inputs";
8 | export const colors = [
9 | "#7700BF",
10 | "#9F00FF",
11 | "#FF0000",
12 | "#FFCE00",
13 | "#000000",
14 | "#af8ecd",
15 | "#5eb5d4",
16 | "#fde047",
17 | ];
18 |
19 | export const YEAR_LIST = [
20 | 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
21 | 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015,
22 | 2016, 2017, 2018, 2019, 2020,
23 | ];
24 |
25 | export const AR_5 = "AR5";
26 | export const AR_LIST = [AR_5];
27 |
28 | export const DATA_SOURCE_FAO = "FAO";
29 | export const DATA_SOURCE_IPCC = "IPCC";
30 | export const DATA_SOURCE_UNFCCC = "UNFCCC";
31 | export const DATA_SOURCE_LIST = [DATA_SOURCE_UNFCCC];
32 |
33 | export const IN_OUT_OPTION_INPUT = "Input";
34 | export const IN_OUT_OPTION_OUTPUT = "Output";
35 | export const IN_OUT_OPTION_LIST = [IN_OUT_OPTION_INPUT, IN_OUT_OPTION_OUTPUT];
36 |
37 | export const UNIT_N2O_HA = "kg N2O/ha";
38 | export const UNIT_CH4_HA = "kg CH4/ha";
39 | export const UNIT_LIST = [UNIT_N2O_HA, UNIT_CH4_HA];
40 |
41 | export const AFOLU_SECTOR_RICE_CULTIVATION = "Rice Cultivation";
42 | export const AFOLU_SECTOR_LIST = [AFOLU_SECTOR_RICE_CULTIVATION];
43 |
44 | export const FARMING_SYSTEM_CONVENTIONAL_RICE = "Conventional rice farming";
45 | export const FARMING_SYSTEM_DOUBLE_RICE = "Double rice cropping";
46 | export const FARMING_SYSTEM_GROUND_COVER = "Ground cover rice production system";
47 | export const FARMING_SYSTEM_INTEGRATED_RICE = "Integrated rice-duck farming";
48 | export const FARMING_SYSTEM_LIST = [FARMING_SYSTEM_CONVENTIONAL_RICE, FARMING_SYSTEM_DOUBLE_RICE, FARMING_SYSTEM_GROUND_COVER, FARMING_SYSTEM_INTEGRATED_RICE];
49 |
50 |
51 | export const COLOR_DARK_BLUE = "#03203D";
52 | export const COLOR_BLUE = "#113458";
53 | export const COLOR_DARK_GREEN = "#04A675";
54 | export const COLOR_YELLOW = "#FFD712";
55 | export const COLOR_DARK_YELLOW = "#F4CC13";
56 |
57 | export const COUNTRY_CHINA = "China";
58 | export const COUNTRY_LIST = ["Afghanistan",
59 | "Albania",
60 | "Algeria",
61 | "Angola",
62 | "Antigua and Barbuda",
63 | "Argentina",
64 | "Armenia",
65 | "Australia",
66 | "Austria",
67 | "Azerbaijan",
68 | "Bahamas",
69 | "Bahrain",
70 | "Bangladesh",
71 | "Barbados",
72 | "Belarus",
73 | "Belgium",
74 | "Belize",
75 | "Benin",
76 | "Bhutan",
77 | "Bolivia (Plurinational State of)",
78 | "Bosnia and Herzegovina",
79 | "Botswana",
80 | "Brazil",
81 | "Brunei Darussalam",
82 | "Bulgaria",
83 | "Burkina Faso",
84 | "Burundi",
85 | "Cabo Verde",
86 | "Cambodia",
87 | "Cameroon",
88 | "Canada",
89 | "Central African Republic",
90 | "Chad",
91 | "Chile",
92 | "China",
93 | "Colombia",
94 | "Comoros",
95 | "Congo",
96 | "Cook Islands",
97 | "Costa Rica",
98 | "Cote d'Ivoire",
99 | "Croatia",
100 | "Cuba",
101 | "Cyprus",
102 | "Czechia",
103 | "Democratic People's Republic of Korea",
104 | "Democratic Republic of the Congo",
105 | "Denmark",
106 | "Djibouti",
107 | "Dominica",
108 | "Dominican Republic",
109 | "Ecuador",
110 | "Egypt",
111 | "El Salvador",
112 | "Eritrea",
113 | "Estonia",
114 | "Eswatini",
115 | "Ethiopia",
116 | "European Union (Convention)",
117 | "European Union (KP)",
118 | "Fiji",
119 | "Finland",
120 | "France",
121 | "Gabon",
122 | "Gambia",
123 | "Georgia",
124 | "Germany",
125 | "Ghana",
126 | "Greece",
127 | "Grenada",
128 | "Guatemala",
129 | "Guinea",
130 | "Guinea-Bissau",
131 | "Guyana",
132 | "Haiti",
133 | "Honduras",
134 | "Hungary",
135 | "Iceland",
136 | "India",
137 | "Indonesia",
138 | "Iran (Islamic Republic of)",
139 | "Iraq",
140 | "Ireland",
141 | "Israel",
142 | "Italy",
143 | "Jamaica",
144 | "Japan",
145 | "Jordan",
146 | "Kazakhstan",
147 | "Kenya",
148 | "Kiribati",
149 | "Kuwait",
150 | "Kyrgyzstan",
151 | "Lao People's Democratic Republic",
152 | "Latvia",
153 | "Lebanon",
154 | "Lesotho",
155 | "Liberia",
156 | "Liechtenstein",
157 | "Lithuania",
158 | "Luxembourg",
159 | "Madagascar",
160 | "Malawi",
161 | "Malaysia",
162 | "Maldives",
163 | "Mali",
164 | "Malta",
165 | "Marshall Islands",
166 | "Mauritania",
167 | "Mauritius",
168 | "Mexico",
169 | "Micronesia (Federated States of)",
170 | "Monaco",
171 | "Mongolia",
172 | "Montenegro",
173 | "Morocco",
174 | "Mozambique",
175 | "Myanmar",
176 | "Namibia",
177 | "Nauru",
178 | "Nepal",
179 | "Netherlands",
180 | "New Zealand",
181 | "Nicaragua",
182 | "Niger",
183 | "Nigeria",
184 | "Niue",
185 | "North Macedonia",
186 | "Norway",
187 | "Oman",
188 | "Pakistan",
189 | "Palau",
190 | "Panama",
191 | "Papua New Guinea",
192 | "Paraguay",
193 | "Peru",
194 | "Philippines",
195 | "Poland",
196 | "Portugal",
197 | "Qatar",
198 | "Republic of Korea",
199 | "Republic of Moldova",
200 | "Romania",
201 | "Russian Federation",
202 | "Rwanda",
203 | "Saint Kitts and Nevis",
204 | "Saint Lucia",
205 | "Saint Vincent and the Grenadines",
206 | "Samoa",
207 | "San Marino",
208 | "Sao Tome and Principe",
209 | "Saudi Arabia",
210 | "Senegal",
211 | "Serbia",
212 | "Seychelles",
213 | "Singapore",
214 | "Slovakia",
215 | "Slovenia",
216 | "Solomon Islands",
217 | "South Africa",
218 | "South Sudan",
219 | "Spain",
220 | "Sri Lanka",
221 | "State of Palestine",
222 | "Sudan",
223 | "Suriname",
224 | "Sweden",
225 | "Switzerland",
226 | "Tajikistan",
227 | "Thailand",
228 | "Timor-Leste",
229 | "Togo",
230 | "Tonga",
231 | "Trinidad and Tobago",
232 | "Tunisia",
233 | "Turkmenistan",
234 | "Tuvalu",
235 | "T�rkiye",
236 | "Uganda",
237 | "Ukraine",
238 | "United Arab Emirates",
239 | "United Kingdom of Great Britain and Northern Ireland",
240 | "United Republic of Tanzania",
241 | "United States of America",
242 | "Uruguay",
243 | "Uzbekistan",
244 | "Vanuatu",
245 | "Venezuela (Bolivarian Republic of)",
246 | "Viet Nam",
247 | "Yemen",
248 | "Zambia",
249 | "Zimbabwe"
250 | ];
251 |
252 | export const TEXT_NON_GHG_INDICATOR = "Non GHG Indicator";
253 | export const TEXT_MAGNITUDE = "Magnitude";
254 |
255 |
256 | //Texts for GWP Modal
257 | export const TEXT_GWP = "The Global Warming Potential (GWP) was developed to allow comparisons of the global warming impacts of different gases. Specifically, it is a measure of how much energy the emissions of 1 ton of a gas will absorb over a given period of time, relative to the emissions of 1 ton of carbon dioxide (CO2).";
258 | export const TEXT_GWP2 = "The GWPs are published by the Intergovernmental Panel on Climate Change (IPCC) and their names come from the IPCC’s Assessment Report in which they were updated. They are updated following changes in the understanding of the global warming impacts of CO2.";
259 | export const TEXT_GWP3 = "The GWP used has a strong effect on the final GHG emissions of a country. For example, CH4 global warming equivalent in CO2 is 33% in AR5 compared with SAR. Indeed, according to AR5, 1 ton of CH4 is equivalent to 28 t CO2, when it is 21 t CO2 with SAR.";
260 | export const TEXT_GWP4 = "IPCC data sources for more information:";
261 | export const TEXT_GWP5 = "AR4 values: https://www.ipcc.ch/publications_and_data/ar4/wg1/en/ch2s2-10-2.html";
262 | export const MODAL_TITLE_GREENHOUSE_GAS = "Greenhouse Gas";
263 | export const MODAL_TITLE_SAR = "SAR";
264 | export const MODAL_TITLE_AR3 = "AR3";
265 | export const MODAL_TITLE_AR4 = "AR4";
266 | export const MODAL_TITLE_AR5 = "AR5";
267 |
268 | export const MODAL_TEXT_CO2 = "CO2";
269 | export const MODAL_TEXT_CH4 = "CH4";
270 | export const MODAL_TEXT_N2O = "N2O";
271 |
272 | export const TEXT_AFOLU_SUMMARY = "Summary: Overview of historical country-level and sectoral GHG emissions data with detailed AFOLU sector GHG emissions data (1990-2019)";
273 |
274 | // Title Texts for Modals
275 | export const MODAL_TITLE_MITIGATION_POTENTIAL = "Mitigation Potential Per AFOLU Sector Data";
276 | export const MODAL_TITLE_TRADE_OFFS = "Trade-offs and synergies for specific mitigation option";
277 | export const MODAL_TITLE_OVERVIEW = "Overview of total greenhouse gas emissions and role of AFOLU";
278 | export const MODAL_TITLE_GWP = "GWP";
279 |
280 | // Texts for Mitigation Potential Modal
281 | export const MODAL_TABLE_HEADER_AFOLU_SECTOR = "AFOLU Sector";
282 | export const MODAL_TABLE_HEADER_MITIGATION_OPTION = "Mitigation Option";
283 | export const MODAL_TABLE_HEADER_MITIGATION_OPTION_NAME_DETAILED = "Mitigation option name detailed";
284 |
285 | export const MITIGATION_OPTION_TEXT_ADW = "ADW";
286 | export const MITIGATION_OPTION_TEXT_CF = "CF";
287 | export const MITIGATION_OPTION_TEXT_PFMSD = "PFMSD";
288 | export const MITIGATION_OPTION_TEXT_CFMSD = "CFMSD";
289 | export const MITIGATION_OPTION_TEXT_FMSDII = "FMSDII";
290 | export const MITIGATION_OPTION_TEXT_CI = "CI";
291 | export const MITIGATION_OPTION_TEXT_FI = "FI";
292 | export const MITIGATION_OPTION_TEXT_ASR_W = "ASR-W";
293 | export const MITIGATION_OPTION_TEXT_ASBBRR_W = "ASBBRR-W";
294 | export const MITIGATION_OPTION_TEXT_R_F = "R-F";
295 | export const MITIGATION_OPTION_TEXT_R_GM = "R-GM";
296 | export const MITIGATION_OPTION_TEXT_CISB = "CISB";
297 | export const MITIGATION_OPTION_TEXT_BDF = "BDF";
298 | export const MITIGATION_OPTION_TEXT_RPF = "RPF";
299 | export const MITIGATION_OPTION_TEXT_TSWD = "TSWD";
300 | export const MITIGATION_OPTION_TEXT_PTSI = "PTSI";
301 | export const MITIGATION_OPTION_TEXT_PT = "PT";
302 | export const MITIGATION_OPTION_TEXT_RTSI = "RTSI";
303 |
304 | export const MITIGATION_OPTION_DETAIL_ADW = "Alternate drying and wetting irrigation";
305 | export const MITIGATION_OPTION_DETAIL_CF = "Continuously flooded";
306 | export const MITIGATION_OPTION_DETAIL_PFMSD = "Persistent flooding with midseason drainage";
307 | export const MITIGATION_OPTION_DETAIL_CFMSD = "Continuously flooded with midseason drainage";
308 | export const MITIGATION_OPTION_DETAIL_FMSDII = "Flood for transplanting and tillering, drainage during the midseason, and intermittent irrigation after midseason";
309 | export const MITIGATION_OPTION_DETAIL_CI = "Controlled irrigation";
310 | export const MITIGATION_OPTION_DETAIL_FI = "Flooding irrigation";
311 | export const MITIGATION_OPTION_DETAIL_ASR_W = "Annual straw incorporating in rice-wheat rotation system";
312 | export const MITIGATION_OPTION_DETAIL_ASBBRR_W = "Annual straw-based biogas residues incorporating in rice-wheat rotation system";
313 | export const MITIGATION_OPTION_DETAIL_R_F = "Rice-Fallow rotation system";
314 | export const MITIGATION_OPTION_DETAIL_R_GM = "Rice-green manure rotation system";
315 | export const MITIGATION_OPTION_DETAIL_CISB = "Controlled irrigation with straw biochar";
316 | export const MITIGATION_OPTION_DETAIL_BDF = "Biodegradable film";
317 | export const MITIGATION_OPTION_DETAIL_RPF = "Regular Polyethylene film";
318 | export const MITIGATION_OPTION_DETAIL_TSWD = "Thin-shallow-wet-dry";
319 | export const MITIGATION_OPTION_DETAIL_PTSI = "Plough tillage with straw incorporation";
320 | export const MITIGATION_OPTION_DETAIL_PT = "Plough tillage without straw incorporation";
321 | export const MITIGATION_OPTION_DETAIL_RTSI = "Rotary tillage with straw incorporation";
322 |
323 | export const MITIGATION_OPTION_LIST = [
324 | { text: MITIGATION_OPTION_TEXT_ADW, detail: MITIGATION_OPTION_DETAIL_ADW },
325 | { text: MITIGATION_OPTION_TEXT_CF, detail: MITIGATION_OPTION_DETAIL_CF },
326 | { text: MITIGATION_OPTION_TEXT_PFMSD, detail: MITIGATION_OPTION_DETAIL_PFMSD },
327 | { text: MITIGATION_OPTION_TEXT_CFMSD, detail: MITIGATION_OPTION_DETAIL_CFMSD },
328 | { text: MITIGATION_OPTION_TEXT_FMSDII, detail: MITIGATION_OPTION_DETAIL_FMSDII },
329 | { text: MITIGATION_OPTION_TEXT_CI, detail: MITIGATION_OPTION_DETAIL_CI },
330 | { text: MITIGATION_OPTION_TEXT_FI, detail: MITIGATION_OPTION_DETAIL_FI },
331 | { text: MITIGATION_OPTION_TEXT_ASR_W, detail: MITIGATION_OPTION_DETAIL_ASR_W },
332 | { text: MITIGATION_OPTION_TEXT_ASBBRR_W, detail: MITIGATION_OPTION_DETAIL_ASBBRR_W },
333 | { text: MITIGATION_OPTION_TEXT_R_F, detail: MITIGATION_OPTION_DETAIL_R_F },
334 | { text: MITIGATION_OPTION_TEXT_R_GM, detail: MITIGATION_OPTION_DETAIL_R_GM },
335 | { text: MITIGATION_OPTION_TEXT_CISB, detail: MITIGATION_OPTION_DETAIL_CISB },
336 | { text: MITIGATION_OPTION_TEXT_BDF, detail: MITIGATION_OPTION_DETAIL_BDF },
337 | { text: MITIGATION_OPTION_TEXT_RPF, detail: MITIGATION_OPTION_DETAIL_RPF },
338 | { text: MITIGATION_OPTION_TEXT_TSWD, detail: MITIGATION_OPTION_DETAIL_TSWD },
339 | { text: MITIGATION_OPTION_TEXT_PTSI, detail: MITIGATION_OPTION_DETAIL_PTSI },
340 | { text: MITIGATION_OPTION_TEXT_PT, detail: MITIGATION_OPTION_DETAIL_PT },
341 | { text: MITIGATION_OPTION_TEXT_RTSI, detail: MITIGATION_OPTION_DETAIL_RTSI }
342 | ];
343 |
344 | // Texts for TradeOff Modal
345 | export const MODAL_TABLE_HEADER_MAGNITUDE = "Magnitude";
346 | export const MODAL_TABLE_HEADER_SYMBOL = "Symbol";
347 | export const MODAL_TABLE_HEADER_DEFINITION = "Definition";
348 |
349 | export const MODAL_TEXT_STRONGLY_DECREASE = "Strongly decrease";
350 | export const MODAL_TEXT_DECREASE = "Decrease";
351 | export const MODAL_TEXT_NEUTRAL = "Neutral";
352 | export const MODAL_TEXT_INCREASE = "Increase";
353 | export const MODAL_TEXT_STRONGLY_INCREASE = "Strongly Increase";
--------------------------------------------------------------------------------
/fable/data.js:
--------------------------------------------------------------------------------
1 | export const barData = [
2 | {
3 | "country": "China",
4 | "Agricultural Soils": 288.3,
5 | "Agricultural SoilsColor": "hsl(288, 70%, 50%)",
6 | "Enteric Fermentation": 206.976,
7 | "Enteric FermentationColor": "hsl(101, 70%, 50%)",
8 | "Manure Management": 138.485,
9 | "Manure ManagementColor": "hsl(279, 70%, 50%)",
10 | "Rice Cultivation": 187.131,
11 | "Rice CultivationColor": "hsl(249, 70%, 50%)",
12 | "Other(Agriculture)": 8.953,
13 | "Other(Agriculture)Color": "hsl(346, 70%, 50%)"
14 | },
15 | // {
16 | // "country": "AE",
17 | // "hot dog": 12,
18 | // "hot dogColor": "hsl(1, 70%, 50%)",
19 | // "burger": 33,
20 | // "burgerColor": "hsl(112, 70%, 50%)",
21 | // "sandwich": 82,
22 | // "sandwichColor": "hsl(239, 70%, 50%)",
23 | // "kebab": 51,
24 | // "kebabColor": "hsl(38, 70%, 50%)",
25 | // "fries": 139,
26 | // "friesColor": "hsl(210, 70%, 50%)",
27 | // "donut": 180,
28 | // "donutColor": "hsl(357, 70%, 50%)"
29 | // },
30 | // {
31 | // "country": "AF",
32 | // "hot dog": 93,
33 | // "hot dogColor": "hsl(218, 70%, 50%)",
34 | // "burger": 54,
35 | // "burgerColor": "hsl(328, 70%, 50%)",
36 | // "sandwich": 82,
37 | // "sandwichColor": "hsl(75, 70%, 50%)",
38 | // "kebab": 125,
39 | // "kebabColor": "hsl(335, 70%, 50%)",
40 | // "fries": 182,
41 | // "friesColor": "hsl(219, 70%, 50%)",
42 | // "donut": 73,
43 | // "donutColor": "hsl(47, 70%, 50%)"
44 | // },
45 | // {
46 | // "country": "AG",
47 | // "hot dog": 188,
48 | // "hot dogColor": "hsl(312, 70%, 50%)",
49 | // "burger": 189,
50 | // "burgerColor": "hsl(15, 70%, 50%)",
51 | // "sandwich": 9,
52 | // "sandwichColor": "hsl(233, 70%, 50%)",
53 | // "kebab": 178,
54 | // "kebabColor": "hsl(4, 70%, 50%)",
55 | // "fries": 82,
56 | // "friesColor": "hsl(173, 70%, 50%)",
57 | // "donut": 116,
58 | // "donutColor": "hsl(39, 70%, 50%)"
59 | // },
60 | // {
61 | // "country": "AI",
62 | // "hot dog": 81,
63 | // "hot dogColor": "hsl(331, 70%, 50%)",
64 | // "burger": 99,
65 | // "burgerColor": "hsl(41, 70%, 50%)",
66 | // "sandwich": 90,
67 | // "sandwichColor": "hsl(352, 70%, 50%)",
68 | // "kebab": 164,
69 | // "kebabColor": "hsl(250, 70%, 50%)",
70 | // "fries": 128,
71 | // "friesColor": "hsl(90, 70%, 50%)",
72 | // "donut": 129,
73 | // "donutColor": "hsl(40, 70%, 50%)"
74 | // },
75 | // {
76 | // "country": "AL",
77 | // "hot dog": 150,
78 | // "hot dogColor": "hsl(10, 70%, 50%)",
79 | // "burger": 36,
80 | // "burgerColor": "hsl(9, 70%, 50%)",
81 | // "sandwich": 89,
82 | // "sandwichColor": "hsl(156, 70%, 50%)",
83 | // "kebab": 20,
84 | // "kebabColor": "hsl(248, 70%, 50%)",
85 | // "fries": 140,
86 | // "friesColor": "hsl(236, 70%, 50%)",
87 | // "donut": 128,
88 | // "donutColor": "hsl(20, 70%, 50%)"
89 | // },
90 | // {
91 | // "country": "AM",
92 | // "hot dog": 43,
93 | // "hot dogColor": "hsl(329, 70%, 50%)",
94 | // "burger": 72,
95 | // "burgerColor": "hsl(299, 70%, 50%)",
96 | // "sandwich": 93,
97 | // "sandwichColor": "hsl(338, 70%, 50%)",
98 | // "kebab": 73,
99 | // "kebabColor": "hsl(329, 70%, 50%)",
100 | // "fries": 8,
101 | // "friesColor": "hsl(204, 70%, 50%)",
102 | // "donut": 135,
103 | // "donutColor": "hsl(150, 70%, 50%)"
104 | // }
105 | ];
106 |
107 | export const pieData = [
108 | {
109 | "id": "energy",
110 | "label": "Energy",
111 | "value": 9558.58,
112 | "color": "hsl(2, 70%, 50%)"
113 | },
114 | {
115 | "id": "ippu",
116 | "label": "IPPU",
117 | "value": 1717.012,
118 | "color": "hsl(78, 70%, 50%)"
119 | },
120 | {
121 | "id": "waste",
122 | "label": "Waste",
123 | "value": 500.768,
124 | "color": "hsl(278, 70%, 50%)"
125 | },
126 | {
127 | "id": "afolu",
128 | "label": "AFOLU",
129 | "value": 829.845,
130 | "color": "hsl(285, 70%, 50%)"
131 | },
132 | // {
133 | // "id": "go",
134 | // "label": "go",
135 | // "value": 411,
136 | // "color": "hsl(278, 70%, 50%)"
137 | // }
138 | ];
139 |
--------------------------------------------------------------------------------
/fable/next.config.js:
--------------------------------------------------------------------------------
1 | /** @type {import('next').NextConfig} */
2 | const nextConfig = {
3 | reactStrictMode: true,
4 | swcMinify: true,
5 | }
6 |
7 | module.exports = nextConfig
8 |
--------------------------------------------------------------------------------
/fable/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "fable",
3 | "version": "0.1.0",
4 | "private": true,
5 | "scripts": {
6 | "dev": "next dev",
7 | "build": "next build",
8 | "start": "next start",
9 | "lint": "next lint"
10 | },
11 | "dependencies": {
12 | "@headlessui/react": "^1.7.4",
13 | "@heroicons/react": "^2.0.13",
14 | "chart.js": "^4.2.1",
15 | "chartjs-plugin-datalabels": "^2.2.0",
16 | "file-saver": "^2.0.5",
17 | "fusioncharts": "^3.19.0",
18 | "next": "12.2.5",
19 | "react": "18.2.0",
20 | "react-chartjs-2": "^5.2.0",
21 | "react-dom": "18.2.0",
22 | "react-fusioncharts": "^4.0.0",
23 | "react-scroll": "^1.8.7",
24 | "xlsx": "^0.18.5"
25 | },
26 | "devDependencies": {
27 | "autoprefixer": "^10.4.8",
28 | "eslint": "8.23.0",
29 | "eslint-config-next": "12.2.5",
30 | "postcss": "^8.4.16",
31 | "tailwindcss": "^3.1.8"
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fable/pages/_app.js:
--------------------------------------------------------------------------------
1 | import '../styles/globals.css'
2 |
3 | function MyApp({ Component, pageProps }) {
4 | return
5 | }
6 |
7 | export default MyApp
8 |
--------------------------------------------------------------------------------
/fable/pages/api/hello.js:
--------------------------------------------------------------------------------
1 | // Next.js API route support: https://nextjs.org/docs/api-routes/introduction
2 |
3 | export default function handler(req, res) {
4 | res.status(200).json({ name: 'John Doe' })
5 | }
6 |
--------------------------------------------------------------------------------
/fable/pages/index.js:
--------------------------------------------------------------------------------
1 | import { useState, useEffect } from "react";
2 | import Header from '../components/header';
3 | import EmissionRedcutionPotentialComponent from '../components/emission_reduction_potential';
4 | import HomeComponent from '../components/home';
5 | import Footer from "../components/footer";
6 |
7 | const consts = require("../consts/consts");
8 | const dataSrc = require("../consts/221207_HomePage.json");
9 |
10 | export default function Index() {
11 |
12 | const [country, setCountry] = useState(consts.COUNTRY_CHINA);
13 | const [countryList, setCountryList] = useState([]);
14 |
15 |
16 | useEffect(() => {
17 | getCountryList();
18 | }, [country]);
19 |
20 | const getCountryList = () => {
21 | // get year list
22 | let countryArr = [];
23 | countryArr = dataSrc.map((ele) => {
24 | return ele["Party"];
25 | }).reduce(
26 | (arr, item) => (arr.includes(item) ? arr : [...arr, item]),
27 | [],
28 | );
29 | countryArr = countryArr.sort((a, b) => {
30 | if (a > b)
31 | return 1;
32 | else return -1;
33 | })
34 | setCountryList(countryArr);
35 | }
36 | const countryChange = (e) => {
37 | setCountry(e.target.value);
38 | }
39 | return (
40 | <>
41 |
42 |
43 | Country :
44 |
45 | {
46 | countryList.map((countryItem, idx) => (
47 | {countryItem}
48 | ))
49 | }
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 | >
59 | )
60 | }
61 |
--------------------------------------------------------------------------------
/fable/postcss.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: {
3 | tailwindcss: {},
4 | autoprefixer: {},
5 | },
6 | }
7 |
--------------------------------------------------------------------------------
/fable/public/221206_BulkDownload.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/221206_BulkDownload.xlsx
--------------------------------------------------------------------------------
/fable/public/avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/avatar.png
--------------------------------------------------------------------------------
/fable/public/avatar2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/avatar2.png
--------------------------------------------------------------------------------
/fable/public/background.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/background.jpg
--------------------------------------------------------------------------------
/fable/public/design.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/design.psd
--------------------------------------------------------------------------------
/fable/public/dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/dot.png
--------------------------------------------------------------------------------
/fable/public/fable_bg1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/fable_bg1.jpg
--------------------------------------------------------------------------------
/fable/public/fable_bg2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/fable_bg2.jpg
--------------------------------------------------------------------------------
/fable/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/favicon.ico
--------------------------------------------------------------------------------
/fable/public/img1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/img1.png
--------------------------------------------------------------------------------
/fable/public/logo_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/logo_color.png
--------------------------------------------------------------------------------
/fable/public/logo_white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/logo_white.png
--------------------------------------------------------------------------------
/fable/public/logo_white.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/logo_white.psd
--------------------------------------------------------------------------------
/fable/public/logo_white2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/logo_white2.png
--------------------------------------------------------------------------------
/fable/public/logo_white_old.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/logo_white_old.png
--------------------------------------------------------------------------------
/fable/public/menu.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/fable/public/vercel.svg:
--------------------------------------------------------------------------------
1 |
3 |
4 |
--------------------------------------------------------------------------------
/fable/public/—Pngtree—3d empty transparent hexagonal pattern_7416431.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/—Pngtree—3d empty transparent hexagonal pattern_7416431.png
--------------------------------------------------------------------------------
/fable/public/—Pngtree—golden polygonal world map_7291667.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/—Pngtree—golden polygonal world map_7291667.png
--------------------------------------------------------------------------------
/fable/public/—Pngtree—world map vector material_2150131.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/utopia-001/Data-Visualization-Graph-GHGI/18b1a6253c19792d74a8e7a4c873d56955984999/fable/public/—Pngtree—world map vector material_2150131.png
--------------------------------------------------------------------------------
/fable/styles/Home.module.css:
--------------------------------------------------------------------------------
1 | .container {
2 | padding: 0 2rem;
3 | }
4 |
5 | .main {
6 | min-height: 100vh;
7 | padding: 4rem 0;
8 | flex: 1;
9 | display: flex;
10 | flex-direction: column;
11 | justify-content: center;
12 | align-items: center;
13 | }
14 |
15 | .footer {
16 | display: flex;
17 | flex: 1;
18 | padding: 2rem 0;
19 | border-top: 1px solid #eaeaea;
20 | justify-content: center;
21 | align-items: center;
22 | }
23 |
24 | .footer a {
25 | display: flex;
26 | justify-content: center;
27 | align-items: center;
28 | flex-grow: 1;
29 | }
30 |
31 | .title a {
32 | color: #0070f3;
33 | text-decoration: none;
34 | }
35 |
36 | .title a:hover,
37 | .title a:focus,
38 | .title a:active {
39 | text-decoration: underline;
40 | }
41 |
42 | .title {
43 | margin: 0;
44 | line-height: 1.15;
45 | font-size: 4rem;
46 | }
47 |
48 | .title,
49 | .description {
50 | text-align: center;
51 | }
52 |
53 | .description {
54 | margin: 4rem 0;
55 | line-height: 1.5;
56 | font-size: 1.5rem;
57 | }
58 |
59 | .code {
60 | background: #fafafa;
61 | border-radius: 5px;
62 | padding: 0.75rem;
63 | font-size: 1.1rem;
64 | font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
65 | Bitstream Vera Sans Mono, Courier New, monospace;
66 | }
67 |
68 | .grid {
69 | display: flex;
70 | align-items: center;
71 | justify-content: center;
72 | flex-wrap: wrap;
73 | max-width: 800px;
74 | }
75 |
76 | .card {
77 | margin: 1rem;
78 | padding: 1.5rem;
79 | text-align: left;
80 | color: inherit;
81 | text-decoration: none;
82 | border: 1px solid #eaeaea;
83 | border-radius: 10px;
84 | transition: color 0.15s ease, border-color 0.15s ease;
85 | max-width: 300px;
86 | }
87 |
88 | .card:hover,
89 | .card:focus,
90 | .card:active {
91 | color: #0070f3;
92 | border-color: #0070f3;
93 | }
94 |
95 | .card h2 {
96 | margin: 0 0 1rem 0;
97 | font-size: 1.5rem;
98 | }
99 |
100 | text tspan {
101 | font-size: 10px !important;
102 | }
103 |
104 | .card p {
105 | margin: 0;
106 | font-size: 1.25rem;
107 | line-height: 1.5;
108 | }
109 |
110 | .logo {
111 | height: 1em;
112 | margin-left: 0.5rem;
113 | }
114 |
115 | @media (max-width: 600px) {
116 | .grid {
117 | width: 100%;
118 | flex-direction: column;
119 | }
120 | }
121 |
122 | @media (prefers-color-scheme: dark) {
123 | .card,
124 | .footer {
125 | border-color: #222;
126 | }
127 | .code {
128 | background: #111;
129 | }
130 | .logo img {
131 | filter: invert(1);
132 | }
133 | }
134 |
135 |
136 |
137 |
138 | /*
139 | section {
140 | display: grid;
141 | place-items: center;
142 | height: 100vh;
143 | font-size: 32px;
144 | font-weight: bold;
145 | }
146 |
147 | #about {
148 | margin-top: -80px;
149 | }
150 |
151 | #projects,
152 | #contact {
153 | color: #3b3b3c;
154 | background: #eaf2fa;
155 | }
156 |
157 | .nav {
158 | display: flex;
159 | align-items: center;
160 | position: -webkit-sticky;
161 | position: sticky;
162 | top: -5px;
163 | z-index: 2;
164 | height: 70px;
165 | min-height: 70px;
166 | width: calc(100% - 1.5rem);
167 | background-color: #fff;
168 | padding: 0 1rem;
169 | box-shadow: 0 0.125rem 0.25rem 0 rgb(0 0 0 / 11%);
170 | }
171 |
172 | .nav__container {
173 | display: flex;
174 | flex-flow: row nowrap;
175 | align-items: center;
176 | justify-content: space-between;
177 | width: 100%;
178 | height: 100%;
179 | margin: 0 auto;
180 | position: relative;
181 | }
182 |
183 | .nav__container__actions {
184 | display: inline-flex;
185 | flex-flow: row nowrap;
186 | padding-left: 50px;
187 | flex: 1;
188 | }
189 |
190 | .active {
191 | font-weight: bold;
192 | }
193 |
194 | ul {
195 | display: flex;
196 | gap: 1rem;
197 | font-size: 0.9rem;
198 | list-style: none;
199 | padding: 0;
200 | }
201 |
202 | li {
203 | cursor: pointer;
204 | }
205 |
206 | li:hover {
207 | text-decoration: underline;
208 | } */
209 |
--------------------------------------------------------------------------------
/fable/styles/globals.css:
--------------------------------------------------------------------------------
1 | /* html,
2 | body {
3 | padding: 0;
4 | margin: 0;
5 | font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
6 | Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
7 | }
8 |
9 | a {
10 | color: inherit;
11 | text-decoration: none;
12 | }
13 |
14 | * {
15 | box-sizing: border-box;
16 | }
17 |
18 | @media (prefers-color-scheme: dark) {
19 | html {
20 | color-scheme: dark;
21 | }
22 | body {
23 | color: white;
24 | background: black;
25 | }
26 | } */
27 |
28 | @tailwind base;
29 | @tailwind components;
30 | @tailwind utilities;
31 |
32 | .activeStyle {
33 | font-weight: bold;
34 | color: rgb(56 189 248);
35 | border-color: rgb(96 165 250);
36 | }
--------------------------------------------------------------------------------
/fable/tailwind.config.js:
--------------------------------------------------------------------------------
1 | /** @type {import('tailwindcss').Config} */
2 | module.exports = {
3 | content: [
4 | "./pages/**/*.{js,ts,jsx,tsx}",
5 | "./components/**/*.{js,ts,jsx,tsx}",
6 | ],
7 | theme: {
8 | extend: {},
9 | screens: {
10 | '2xs': '320px',
11 |
12 | 'xs': '480px',
13 |
14 | 'sm': '640px',
15 | // => @media (min-width: 640px) { ... }
16 |
17 | 'md': '768px',
18 | // => @media (min-width: 768px) { ... }
19 |
20 | 'lg': '1024px',
21 | // => @media (min-width: 1024px) { ... }
22 |
23 | 'xl': '1280px',
24 | // => @media (min-width: 1280px) { ... }
25 |
26 | '2xl': '1536px',
27 | // => @media (min-width: 1536px) { ... }
28 | }
29 | },
30 | plugins: [],
31 | }
32 |
--------------------------------------------------------------------------------
/fable/utils/exportCSV.js:
--------------------------------------------------------------------------------
1 | import * as XLSX from 'xlsx';
2 | import FileSaver from 'file-saver';
3 | const readmeData = require("../consts/221212_Readme.json")
4 |
5 |
6 | export const exportToCSV = (csvData, fileName) => {
7 | const fileType = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8';
8 | const fileExtension = '.xlsx';
9 |
10 | const ws = XLSX.utils.json_to_sheet(csvData);
11 | const ws2 = XLSX.utils.json_to_sheet(readmeData);
12 |
13 | const wb = { Sheets: { 'Data': ws, "Read Me": ws2 }, SheetNames: ['Read Me', 'Data'] };
14 | const excelBuffer = XLSX.write(wb, { bookType: 'xlsx', type: 'array' });
15 | const data = new Blob([excelBuffer], { type: fileType });
16 | FileSaver.saveAs(data, fileName + fileExtension);
17 | }
--------------------------------------------------------------------------------
/fable/utils/utils.js:
--------------------------------------------------------------------------------
1 | export const test = (country, year, dataSource, gwp) => {
2 | let data = dataSrc.filter((ele) => {
3 | return (ele["Party"].toString() === country && parseInt(ele["Year"]) === parseInt(year) && ele["DataSource"] === dataSource && ele["AR"] === gwp);
4 | });
5 | }
6 |
7 | export const numberFormat = (val) => {
8 | return parseFloat(val.toString().replace(",", ""));
9 | }
10 | export const formatCountryListFromJSON = () => {
11 | let str = [];
12 | dataSrc.map((ele) => {
13 | if (!str.includes(ele["Party"])) {
14 | str.push(ele["Party"]);
15 | }
16 | });
17 | str = str.sort((a, b) => {
18 | if (a > b)
19 | return 1;
20 | else return -1;
21 | })
22 | }
--------------------------------------------------------------------------------