வார்ப்புரு:Global Heat Maps by Year
&lt;includeonly&gt;{{#tag:graph|
 { 
   //
   // ATTENTION: This code is maintained at https://www.mediawiki.org/wiki/Template:Graph:World_Historical_Highlights
   //            Please do not modify it anywhere else, as it may get copied and override your changes.
   //            Suggestions can be made at https://www.mediawiki.org/wiki/Template_talk:Graph:World_Historical_Highlights
   //
 
   &quot;version&quot;: 2,
   &quot;width&quot;: {{{width|300}}},
   &quot;height&quot;: {{{height|265}}},
   &quot;signals&quot;: [
     // TODO: should be auto-calculated last available
     { &quot;name&quot;: &quot;initYear&quot;, &quot;init&quot;: {{{year}}} },
     { &quot;name&quot;: &quot;gapHeight&quot;, &quot;init&quot;: 26 },
     {
       // Hide overview if total height is too small
       &quot;name&quot;: &quot;showOverview&quot;,
       &quot;init&quot;: {&quot;expr&quot;: &quot;{{#if: {{{hideoverview|}}} | false | true }} {{!}}{{!}} height &lt; (gapHeight + 100)&quot; }
     },
     { &quot;name&quot;: &quot;overviewHeight&quot;, &quot;init&quot;: {&quot;expr&quot;: &quot;showOverview ? 40 : 0&quot; } },
     { &quot;name&quot;: &quot;detailHeight&quot;, &quot;init&quot;: {&quot;expr&quot;: &quot;height - (showOverview ? overviewHeight + gapHeight : 0)&quot; } },
     { &quot;name&quot;: &quot;overviewYPos&quot;, &quot;init&quot;: {&quot;expr&quot;: &quot;height - overviewHeight&quot; } },
     { &quot;name&quot;: &quot;mapXC&quot;, &quot;init&quot;: {&quot;expr&quot;: &quot;width/2&quot;} },
     { &quot;name&quot;: &quot;mapYC&quot;, &quot;init&quot;: {&quot;expr&quot;: &quot;overviewYPos/2&quot;} },
     {
       &quot;name&quot;: &quot;brush_start&quot;,
       &quot;streams&quot;: [{
         &quot;type&quot;: &quot;@overview:mousedown, @overview:touchstart&quot;, 
         &quot;expr&quot;: &quot;clamp(eventX(), 0, width)&quot;,
         &quot;scale&quot;: {&quot;name&quot;: &quot;xOverview&quot;, &quot;invert&quot;: true}
       }]
     },
     {
       &quot;name&quot;: &quot;brush_end&quot;,
       &quot;streams&quot;: [{
         &quot;type&quot;: &quot;@overview:mousedown, [@overview:mousedown, window:mouseup] &gt; window:mousemove, @overview:mouseup, @overview:touchstart, [@overview:touchstart, window:touchend] &gt; window:touchmove, @overview:touchend&quot;,
         &quot;expr&quot;: &quot;clamp(eventX(), 0, width)&quot;,
         &quot;scale&quot;: {&quot;name&quot;: &quot;xOverview&quot;, &quot;invert&quot;: true}
       }]
     },
     {
       &quot;name&quot;: &quot;fromYear&quot;, 
       &quot;init&quot;: {&quot;expr&quot;: &quot;initYear&quot;},
       &quot;expr&quot;: &quot;year(min(brush_start, brush_end))&quot;
     },
     {
       &quot;name&quot;: &quot;toYear&quot;,
       &quot;init&quot;: {&quot;expr&quot;: &quot;initYear&quot;},
       &quot;expr&quot;: &quot;year(max(brush_start, brush_end))&quot;
     },
     {
       &quot;name&quot;: &quot;isRange&quot;, 
       &quot;init&quot;: {&quot;expr&quot;: &quot;false&quot;},
       &quot;expr&quot;: &quot;fromYear !== toYear&quot;
     },
     {
       &quot;name&quot;: &quot;tooltip&quot;,
       &quot;init&quot;: {&quot;expr&quot;: &quot;{x: 0, y: 0, datum: false }&quot;}, 
       &quot;streams&quot;: [
         {&quot;type&quot;: &quot;@map:mouseout, @map:touchstart&quot;, &quot;expr&quot;: &quot;{x: 0, y: 0, datum: false }&quot; },
         {&quot;type&quot;: &quot;@map:mouseover, @map:touchstart&quot;, &quot;expr&quot;: &quot;{x: eventX(), y: eventY(), datum: eventItem().datum.lookup}&quot; }
       ]
     }
   ],
   &quot;data&quot;: [{
     &quot;name&quot;: &quot;data&quot;,
     &quot;url&quot;: &quot;tabular:///{{{table}}}&quot;,
     &quot;format&quot;: {&quot;type&quot;: &quot;json&quot;, &quot;property&quot;: &quot;data&quot;},
     &quot;transform&quot;: [
       { &quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;value&quot;, &quot;expr&quot;: &quot;datum.{{{column}}}&quot; }
     ]
   },{
     &quot;name&quot;: &quot;totals&quot;,
     &quot;source&quot;: &quot;data&quot;,
     &quot;transform&quot;: [
       {
       	&quot;type&quot;: &quot;aggregate&quot;,
       	&quot;groupby&quot;: [&quot;year&quot;],
         &quot;summarize&quot;: [{&quot;field&quot;: &quot;value&quot;, &quot;ops&quot;: [&quot;sum&quot;], &quot;as&quot;: [&quot;total&quot;]}]
       },
       { &quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;date&quot;, &quot;expr&quot;: &quot;datetime(datum.year, 0, 1)&quot; }
     ]
   },{
     // Select just the source data for the starting year
     &quot;name&quot;: &quot;firstYearData&quot;,
     &quot;source&quot;: &quot;data&quot;,
     &quot;transform&quot;: [{&quot;type&quot;: &quot;filter&quot;, &quot;test&quot;: &quot;datum.year === fromYear&quot;}]
   },{
     // Select just the source data for the ending year
     &quot;name&quot;: &quot;yearData&quot;,
     &quot;source&quot;: &quot;data&quot;,
     &quot;transform&quot;: [{
       &quot;type&quot;: &quot;filter&quot;, &quot;test&quot;: &quot;datum.year === toYear&quot;
     },{
       &quot;type&quot;: &quot;sort&quot;, &quot;by&quot;: [&quot;-value&quot;]
     },{
       &quot;type&quot;: &quot;rank&quot;, &quot;field&quot;: &quot;country&quot;
     },{
       &quot;type&quot;: &quot;lookup&quot;,
       &quot;on&quot;: &quot;firstYearData&quot;,
       &quot;onKey&quot;: &quot;country&quot;,
       &quot;keys&quot;: [&quot;country&quot;],
       &quot;as&quot;: [&quot;firstYear&quot;],
       &quot;default&quot;: null
     },{
       &quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;calc&quot;, &quot;expr&quot;: &quot;if(isRange, (datum.value - datum.firstYear.value)/datum.firstYear.value, datum.value)&quot;
     }]
   },{
     &quot;name&quot;: &quot;mapData&quot;,
     &quot;url&quot;: &quot;map:///Naturalearthdata.com/admin-0-countries-no-antarctica.map&quot;,
     &quot;format&quot;: {&quot;type&quot;: &quot;json&quot;, &quot;property&quot;: &quot;data.features&quot;},
     &quot;transform&quot;: [{
       &quot;type&quot;: &quot;geopath&quot;,
       &quot;projection&quot;: &quot;equirectangular&quot;,
       &quot;scale&quot;: 72,
       &quot;translate&quot;: [{&quot;expr&quot;: &quot;mapXC&quot;}, {&quot;expr&quot;: &quot;mapYC&quot;}]
     },{
     	&quot;type&quot;: &quot;formula&quot;,
     	&quot;field&quot;: &quot;my_id&quot;,
     	&quot;expr&quot;: &quot;datum.properties.iso_a3 {{!}}{{!}} datum.properties.adm0_a3&quot;
     },{
       &quot;type&quot;: &quot;lookup&quot;,
       &quot;on&quot;: &quot;yearData&quot;,
       &quot;onKey&quot;: &quot;country&quot;,
       &quot;keys&quot;: [&quot;my_id&quot;],
       &quot;as&quot;: [&quot;lookup&quot;],
       &quot;default&quot;: 100
     }]
   },{
     &quot;name&quot;: &quot;dummyValue&quot;,
     &quot;values&quot;: [{}]
   }],
   &quot;scales&quot;: [{
     &quot;name&quot;: &quot;color&quot;,
     &quot;type&quot;: &quot;linear&quot;,
     &quot;domain&quot;: {&quot;data&quot;: &quot;yearData&quot;, &quot;field&quot;: &quot;calc&quot;},
     &quot;range&quot;: [&quot;blue&quot;, &quot;#a50026&quot;],
     &quot;zero&quot;: false,
     &quot;clamp&quot;: true
   },{
     &quot;name&quot;: &quot;diffColor&quot;,
     &quot;type&quot;: &quot;linear&quot;,
     &quot;domain&quot;: [-1, -0.8, -0.6, -0.3, -0.1, 0, 0.1, 0.3, 0.6, 0.8, 1],
     &quot;range&quot;: [&quot;#313695&quot;, &quot;#4575b4&quot;, &quot;#74add1&quot;, &quot;#abd9e9&quot;, &quot;#e0f3f8&quot;, &quot;#ffffbf&quot;, &quot;#fee090&quot;, &quot;#fdae61&quot;, &quot;#f46d43&quot;, &quot;#d73027&quot;, &quot;#a50026&quot;],
     &quot;zero&quot;: false,
     &quot;clamp&quot;: true
   },{
       &quot;name&quot;: &quot;xOverview&quot;,
       &quot;type&quot;: &quot;time&quot;,
       &quot;range&quot;: &quot;width&quot;,
       &quot;domain&quot;: {&quot;data&quot;: &quot;totals&quot;, &quot;field&quot;: &quot;date&quot;}
   },{
       &quot;name&quot;: &quot;yOverview&quot;,
       &quot;type&quot;: &quot;linear&quot;,
       &quot;rangeMin&quot;: {&quot;signal&quot;: &quot;overviewHeight&quot;},
       &quot;nice&quot;: true,
       &quot;zero&quot;: false,
       &quot;domain&quot;: {&quot;data&quot;: &quot;totals&quot;, &quot;field&quot;: &quot;total&quot;}
   }],
   &quot;marks&quot;: [{
     &quot;type&quot;: &quot;group&quot;,
     &quot;name&quot;: &quot;detail&quot;,
     &quot;properties&quot;: {
       &quot;enter&quot;: {
         &quot;height&quot;: {&quot;signal&quot;: &quot;detailHeight&quot;},
         &quot;width&quot;: {&quot;signal&quot;: &quot;width&quot;}
     } },
     &quot;marks&quot;: [{
       &quot;name&quot;: &quot;map&quot;,
       &quot;type&quot;: &quot;path&quot;,
       &quot;from&quot;: {&quot;data&quot;: &quot;mapData&quot;},
       &quot;properties&quot;: {
         &quot;enter&quot;: {
           &quot;stroke&quot;: {&quot;value&quot;: &quot;#fff&quot;},
           &quot;path&quot;: {&quot;field&quot;: &quot;layout_path&quot;}
         },
         &quot;update&quot;: {
           &quot;fill&quot;: [
             {&quot;test&quot;: &quot;isRange&quot;, &quot;field&quot;: &quot;lookup.calc&quot;, &quot;scale&quot;: &quot;diffColor&quot;},
             {&quot;field&quot;: &quot;lookup.calc&quot;, &quot;scale&quot;: &quot;color&quot;}
           ],
           &quot;stroke&quot;: {&quot;value&quot;: &quot;#fff&quot;}
         },
         &quot;hover&quot;: {&quot;fill&quot;: {&quot;value&quot;: &quot;#989898&quot;}, &quot;stroke&quot;: {&quot;value&quot;: &quot;#000&quot;} }
       }
     }]
   },{
     &quot;type&quot;: &quot;group&quot;,
     &quot;name&quot;: &quot;overview&quot;,
     &quot;from&quot;: {
       &quot;data&quot;: &quot;dummyValue&quot;,
       // HACK: brush_end is needed to fool optimizer, because otherwise legend doesn't auto-update
       &quot;transform&quot;: [{&quot;type&quot;: &quot;filter&quot;, &quot;test&quot;: &quot;(brush_end &amp;&amp; 0) {{!}}{{!}} showOverview&quot;}]
     },
     &quot;properties&quot;: {
       &quot;enter&quot;: {
         &quot;x&quot;: {&quot;value&quot;: 0},
         &quot;y&quot;: {&quot;signal&quot;: &quot;overviewYPos&quot;},
         &quot;height&quot;: {&quot;signal&quot;: &quot;overviewHeight&quot;},
         &quot;width&quot;: {&quot;signal&quot;: &quot;width&quot;},
         &quot;fill&quot;: {&quot;value&quot;: &quot;transparent&quot;}
     } },
     &quot;axes&quot;: [
       {&quot;type&quot;: &quot;x&quot;, &quot;scale&quot;: &quot;xOverview&quot;, &quot;ticks&quot;: 7}
     ],
     &quot;marks&quot;: [{
       // Draw scale for a single year (I wish we could dynamically pick which scale to use for the legend)
       &quot;type&quot;: &quot;group&quot;,
       // HACK: brush_end is needed to fool optimizer, because otherwise legend doesn't auto-update
       &quot;from&quot;: { &quot;data&quot;: &quot;dummyValue&quot;, &quot;transform&quot;: [{&quot;type&quot;: &quot;filter&quot;, &quot;test&quot;: &quot;(brush_end &amp;&amp; 0) {{!}}{{!}} !isRange&quot;}] },
       &quot;properties&quot;: { &quot;enter&quot;: { &quot;width&quot;: {&quot;signal&quot;: &quot;width&quot;} } },
         &quot;legends&quot;: [{
           &quot;fill&quot;: &quot;color&quot;,
           &quot;offset&quot;: 20,
           &quot;properties&quot;: {&quot;legend&quot;: {&quot;y&quot;: {&quot;value&quot;: 30} } }
     }]},{
       // Draw scale for a range (I wish we could dynamically pick which scale to use for the legend)
       &quot;type&quot;: &quot;group&quot;,
       &quot;from&quot;: { &quot;data&quot;: &quot;dummyValue&quot;, &quot;transform&quot;: [{&quot;type&quot;: &quot;filter&quot;, &quot;test&quot;: &quot;isRange&quot;}] },
       &quot;properties&quot;: { &quot;enter&quot;: { &quot;width&quot;: {&quot;signal&quot;: &quot;width&quot;} } },
         &quot;legends&quot;: [{
           &quot;fill&quot;: &quot;diffColor&quot;,
           &quot;offset&quot;: 20,
           &quot;properties&quot;: {
             &quot;legend&quot;: {&quot;y&quot;: {&quot;value&quot;: 30} },
             &quot;labels&quot;: {
               &quot;text&quot;: [
                 {&quot;test&quot;: &quot;datum.data===0&quot;, &quot;value&quot;: &quot;0&quot;},
                 {&quot;test&quot;: &quot;(datum.data%1)===0&quot;, &quot;template&quot;: &quot;{{((}}datum.data{{!}}number:'.0%'{{))}}&quot;},
                 {&quot;value&quot;: &quot;&quot;}
     ]} } }]},{
       &quot;name&quot;: &quot;yearLabel&quot;,
       &quot;type&quot;: &quot;text&quot;,
       &quot;from&quot;: {
         &quot;data&quot;: &quot;dummyValue&quot;,
         &quot;transform&quot;: [
           {&quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;text&quot;, &quot;expr&quot;: &quot;if(isRange,fromYear + '-' + toYear, fromYear)&quot;},
           {&quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;fontSize&quot;, &quot;expr&quot;: &quot;if(isRange,22,32)&quot;}
       ]},
       &quot;properties&quot;: {
         &quot;enter&quot;: {
           &quot;x&quot;: {&quot;signal&quot;: &quot;width&quot;, &quot;offset&quot;: 72},
           &quot;y&quot;: {&quot;value&quot;: 20},
           &quot;fontWeight&quot;: {&quot;value&quot;: &quot;bold&quot;},
           &quot;align&quot;: {&quot;value&quot;: &quot;center&quot;},
           &quot;baseline&quot;: {&quot;value&quot;: &quot;middle&quot;},
           &quot;fill&quot;: {&quot;value&quot;: &quot;#08306b&quot;}
         },
         &quot;update&quot;: {
           &quot;fontSize&quot;: {&quot;field&quot;: &quot;fontSize&quot;},
            &quot;text&quot;: {&quot;field&quot;: &quot;text&quot;}
     } } },{
       &quot;type&quot;: &quot;line&quot;,
       &quot;from&quot;: { &quot;data&quot;: &quot;totals&quot; },
       &quot;properties&quot;: {
         &quot;update&quot;: {
           &quot;x&quot;: {&quot;scale&quot;: &quot;xOverview&quot;, &quot;field&quot;: &quot;date&quot;},
           &quot;y&quot;: {&quot;scale&quot;: &quot;yOverview&quot;, &quot;field&quot;: &quot;total&quot;},
           &quot;stroke&quot;: {&quot;value&quot;: &quot;#08306b&quot;},
           &quot;strokeWidth&quot;: {&quot;value&quot;: 2}
     } } },{
       &quot;type&quot;: &quot;rect&quot;,
       &quot;from&quot;: {
         &quot;data&quot;: &quot;dummyValue&quot;,
         &quot;transform&quot;: [
           {&quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;fromDate&quot;, &quot;expr&quot;: &quot;datetime(fromYear, -6, 1)&quot;},
           {&quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;toDate&quot;, &quot;expr&quot;: &quot;datetime(toYear, 6, 1)&quot;}
       ]},
       &quot;properties&quot;: {
         &quot;enter&quot;: {
           &quot;y&quot;: {&quot;value&quot;: 0},
           &quot;height&quot;: {&quot;signal&quot;: &quot;overviewHeight&quot;},
           &quot;fill&quot;: {&quot;value&quot;: &quot;#333&quot;},
           &quot;fillOpacity&quot;: {&quot;value&quot;: 0.2},
           &quot;stroke&quot;: {&quot;value&quot;: &quot;#f00&quot;},
           &quot;strokeDash&quot;: {&quot;value&quot;: [4]}
         },
         &quot;update&quot;: {
           &quot;x&quot;: {&quot;scale&quot;: &quot;xOverview&quot;, &quot;field&quot;: &quot;fromDate&quot;},
           &quot;x2&quot;: {&quot;scale&quot;: &quot;xOverview&quot;, &quot;field&quot;: &quot;toDate&quot;}
   } } }]},
   
   {
     &quot;name&quot;: &quot;tooltip&quot;,
       &quot;type&quot;: &quot;group&quot;,
       &quot;from&quot;: {
         &quot;data&quot;: &quot;dummyValue&quot;,
         &quot;transform&quot;: [
           {&quot;type&quot;: &quot;filter&quot;, &quot;test&quot;: &quot;tooltip.datum &amp;&amp; tooltip.datum.calc&quot;},
           {&quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;offsetX&quot;, &quot;expr&quot;: &quot;5&quot;},
           {&quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;offsetY&quot;, &quot;expr&quot;: &quot;30&quot;},
           {&quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;tipWidth&quot;, &quot;expr&quot;: &quot;200&quot;},
           {&quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;tipHeight&quot;, &quot;expr&quot;: &quot;51&quot;},
           {&quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;alignLeft&quot;, &quot;expr&quot;: &quot;tooltip.x &gt; width - datum.offsetX - datum.tipWidth&quot;},
           {&quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;alignTop&quot;, &quot;expr&quot;: &quot;tooltip.y &gt; height - datum.offsetY - datum.tipHeight&quot;},
           {&quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;x&quot;, &quot;expr&quot;: &quot;max(0, tooltip.x + (datum.alignLeft ? -datum.offsetX-datum.tipWidth : datum.offsetX ))&quot;},
           {&quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;y&quot;, &quot;expr&quot;: &quot;tooltip.y + (datum.alignTop ? -1 : 1) * datum.offsetY&quot;},
           {&quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;lookupCountry&quot;, &quot;expr&quot;: &quot;tooltip.datum.country&quot;},
 	      {
 	        &quot;type&quot;: &quot;lookup&quot;,
 	        &quot;on&quot;: &quot;mapData&quot;,
 	        &quot;onKey&quot;: &quot;my_id&quot;,
 	        &quot;keys&quot;: [&quot;lookupCountry&quot;],
 	        &quot;as&quot;: [&quot;mapDataVal&quot;],
 	        &quot;default&quot;: null
 	      },
           {&quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;name&quot;, &quot;expr&quot;: &quot;datum.mapDataVal ? datum.mapDataVal.properties.name : '?xyz?'&quot;},
 	      {
 	        &quot;type&quot;: &quot;lookup&quot;,
 	        &quot;on&quot;: &quot;yearData&quot;,
 	        &quot;onKey&quot;: &quot;country&quot;,
 	        &quot;keys&quot;: [&quot;lookupCountry&quot;],
 	        &quot;as&quot;: [&quot;yearDataVal&quot;],
 	        &quot;default&quot;: null
 	      },
           {&quot;type&quot;: &quot;formula&quot;, &quot;field&quot;: &quot;rank&quot;, &quot;expr&quot;: &quot;datum.yearDataVal ? datum.yearDataVal.rank : 1000&quot;}
       ]},
       &quot;properties&quot;: {
         &quot;update&quot;: {
           &quot;x&quot;: {&quot;field&quot;: &quot;x&quot; }, &quot;y&quot;: {&quot;field&quot;: &quot;y&quot; },
           &quot;width&quot;: {&quot;field&quot;: &quot;tipWidth&quot; },
           &quot;height&quot;: {&quot;field&quot;: &quot;tipHeight&quot; },
           &quot;fill&quot;: {&quot;value&quot;: &quot;#fff&quot;},
           &quot;fillOpacity&quot;: {&quot;value&quot;: 0.85},
           &quot;stroke&quot;: {&quot;value&quot;: &quot;#aaa&quot;},
           &quot;strokeWidth&quot;: {&quot;value&quot;: 0.5}
       } },
 
       &quot;marks&quot;: [
         {
           &quot;type&quot;: &quot;text&quot;,
           &quot;properties&quot;: {
             &quot;update&quot;: {
               &quot;x&quot;: {&quot;value&quot;: 6}, &quot;y&quot;: {&quot;value&quot;: 14},
               &quot;text&quot;: {&quot;template&quot;: &quot;{{((}}parent.name{{))}}&quot;},
               &quot;fill&quot;: {&quot;value&quot;: &quot;black&quot;},
               &quot;fontWeight&quot;: {&quot;value&quot;: &quot;bold&quot;}
         } } },
         {
           &quot;type&quot;: &quot;text&quot;,
           &quot;properties&quot;: {
             &quot;update&quot;: {
               &quot;x&quot;: {&quot;value&quot;: 6}, &quot;y&quot;: {&quot;value&quot;: 29},
               &quot;text&quot;: [
                 {&quot;test&quot;: &quot;isRange&quot;, &quot;template&quot;: &quot;Growth:\t{{((}}tooltip.datum.calc{{!}}number:'.1%'{{))}}&quot;},
                 {&quot;template&quot;: &quot;{{{columnName}}}:\t{{((}}tooltip.datum.calc{{!}}number:',.1f'{{))}}{{{%|%}}}&quot;}
               ],
               &quot;fill&quot;: {&quot;value&quot;: &quot;black&quot;}
         } } },
         {
           &quot;type&quot;: &quot;text&quot;,
           &quot;properties&quot;: {
             &quot;update&quot;: {
               &quot;x&quot;: {&quot;value&quot;: 6}, &quot;y&quot;: {&quot;value&quot;: 44},
               &quot;text&quot;: [
                 {&quot;test&quot;: &quot;isRange&quot;, &quot;template&quot;: &quot;&quot;},
                 {&quot;template&quot;: &quot;Global position:\t#{{((}}parent.rank{{!}}number:'.0f'{{))}}&quot;}
               ],
               &quot;fill&quot;: {&quot;value&quot;: &quot;black&quot;}
         } } },
     ]}
 {{#if:{{{title|}}}|
     // Draw title at the top of the graph
 ,   {
       &quot;type&quot;: &quot;text&quot;,
       &quot;properties&quot;: {
         &quot;enter&quot;: {
           &quot;x&quot;: {&quot;signal&quot;: &quot;width&quot;, &quot;mult&quot;: 0.5, &quot;offset&quot;: 30},
           &quot;y&quot;: {&quot;value&quot;: -15},
           &quot;text&quot;: {&quot;value&quot;: &quot;{{{title}}}&quot;},
           &quot;fontWeight&quot;: {&quot;value&quot;: &quot;bold&quot;},
           &quot;align&quot;: {&quot;value&quot;: &quot;center&quot;},
           &quot;baseline&quot;: {&quot;value&quot;: &quot;bottom&quot;},
           &quot;fill&quot;: {&quot;value&quot;: &quot;#000&quot;}
         }
       }
     }
 }}
   ]
 }
 |mode=interactive}}
 &lt;small&gt;{{#invoke:TNT|msg|Original/Template:Graphs.tab|source-table|{{#invoke:TNT|link|{{{table}}}}}}}. {{{note|}}}&lt;/small&gt;