User:Milimetric/MinardNapoleon

{ "version": 1, "width": 720, "height": 375, "padding": { "top": 0, "left": 70, "right": 30, "bottom": 30 }, "data": [ {     "name": "army", "format": {}, "values": [ {         "lon": 24, "lat": 54.9, "size": 340000, "dir": 1, "group": 1 },       {          "lon": 24.5, "lat": 55, "size": 340000, "dir": 1, "group": 1 },       {          "lon": 25.5, "lat": 54.6, "size": 340000, "dir": 1, "group": 1 },       {          "lon": 26, "lat": 54.7, "size": 320000, "dir": 1, "group": 1 },       {          "lon": 27, "lat": 54.8, "size": 300000, "dir": 1, "group": 1 },       {          "lon": 28, "lat": 54.9, "size": 280000, "dir": 1, "group": 1 },       {          "lon": 28.5, "lat": 55, "size": 240000, "dir": 1, "group": 1 },       {          "lon": 29, "lat": 55.1, "size": 210000, "dir": 1, "group": 1 },       {          "lon": 30, "lat": 55.2, "size": 180000, "dir": 1, "group": 1 },       {          "lon": 30.3, "lat": 55.3, "size": 175000, "dir": 1, "group": 1 },       {          "lon": 32, "lat": 54.8, "size": 145000, "dir": 1, "group": 1 },       {          "lon": 33.2, "lat": 54.9, "size": 140000, "dir": 1, "group": 1 },       {          "lon": 34.4, "lat": 55.5, "size": 127100, "dir": 1, "group": 1 },       {          "lon": 35.5, "lat": 55.4, "size": 100000, "dir": 1, "group": 1 },       {          "lon": 36, "lat": 55.5, "size": 100000, "dir": 1, "group": 1 },       {          "lon": 37.6, "lat": 55.8, "size": 100000, "dir": 1, "group": 1 },       {          "lon": 37.65, "lat": 55.65, "size": 100000, "dir": -1, "group": 1 },       {          "lon": 37.45, "lat": 55.62, "size": 98000, "dir": -1, "group": 1 },       {          "lon": 37, "lat": 55, "size": 97000, "dir": -1, "group": 1 },       {          "lon": 36.8, "lat": 55, "size": 96000, "dir": -1, "group": 1 },       {          "lon": 35.4, "lat": 55.3, "size": 87000, "dir": -1, "group": 1 },       {          "lon": 34.3, "lat": 55.2, "size": 55000, "dir": -1, "group": 1 },       {          "lon": 33.3, "lat": 54.8, "size": 37000, "dir": -1, "group": 1 },       {          "lon": 32, "lat": 54.6, "size": 24000, "dir": -1, "group": 1 },       {          "lon": 30.4, "lat": 54.4, "size": 20000, "dir": -1, "group": 1 },       {          "lon": 29.2, "lat": 54.3, "size": 20000, "dir": -1, "group": 1 },       {          "lon": 29.13, "lat": 54.29, "size": 50000, "dir": -1, "group": 1 },       {          "lon": 28.5, "lat": 54.2, "size": 50000, "dir": -1, "group": 1 },       {          "lon": 28.3, "lat": 54.3, "size": 48000, "dir": -1, "group": 1 },       {          "lon": 26.8, "lat": 54.3, "size": 12000, "dir": -1, "group": 1 },       {          "lon": 26.8, "lat": 54.4, "size": 14000, "dir": -1, "group": 1 },       {          "lon": 25, "lat": 54.4, "size": 8000, "dir": -1, "group": 1 },       {          "lon": 24.4, "lat": 54.4, "size": 4000, "dir": -1, "group": 1 },       {          "lon": 24.2, "lat": 54.4, "size": 4000, "dir": -1, "group": 1 },       {          "lon": 24.1, "lat": 54.4, "size": 4000, "dir": -1, "group": 1 },       {          "lon": 24, "lat": 55.1, "size": 60000, "dir": 1, "group": 2 },       {          "lon": 24.5, "lat": 55.2, "size": 60000, "dir": 1, "group": 2 },       {          "lon": 25.5, "lat": 54.7, "size": 60000, "dir": 1, "group": 2 },       {          "lon": 26.6, "lat": 55.7, "size": 40000, "dir": 1, "group": 2 },       {          "lon": 27.4, "lat": 55.6, "size": 33000, "dir": 1, "group": 2 },       {          "lon": 28.7, "lat": 55.5, "size": 33000, "dir": 1, "group": 2 },       {          "lon": 28.7, "lat": 55.5, "size": 33000, "dir": -1, "group": 2 },       {          "lon": 29.2, "lat": 54.29, "size": 30000, "dir": -1, "group": 2 },       {          "lon": 24, "lat": 55.2, "size": 22000, "dir": 1, "group": 3 },       {          "lon": 24.5, "lat": 55.3, "size": 22000, "dir": 1, "group": 3 },       {          "lon": 24.6, "lat": 55.8, "size": 6000, "dir": 1, "group": 3 },       {          "lon": 24.6, "lat": 55.8, "size": 6000, "dir": -1, "group": 3 },       {          "lon": 24.2, "lat": 54.4, "size": 6000, "dir": -1, "group": 3 },       {          "lon": 24.1, "lat": 54.4, "size": 6000, "dir": -1, "group": 3 }     ],      "lyra.role": "data_source" },   {      "name": "pipeline_0", "lyra.displayName": "Army", "source": "army", "transform": [] },   {      "name": "pipeline_0_facet", "source": "army", "lyra.role": "fork", "lyra.for": "pipeline_0", "transform": [ {         "type": "facet", "keys": [ "data.group", "data.dir" ]       }      ]    },    {      "name": "cities", "format": {}, "values": [ {         "lon": 24, "lat": 55, "city": "Kowno" },       {          "lon": 25.3, "lat": 54.7, "city": "Wilna" },       {          "lon": 26.4, "lat": 54.4, "city": "Smorgoni" },       {          "lon": 26.8, "lat": 54.3, "city": "Molodexno" },       {          "lon": 27.7, "lat": 55.2, "city": "Gloubokoe" },       {          "lon": 27.6, "lat": 54, "city": "Minsk" },       {          "lon": 28.5, "lat": 54.3, "city": "Studienska" },       {          "lon": 28.7, "lat": 55.5, "city": "Polotzk" },       {          "lon": 29.4, "lat": 54.2, "city": "Bobr" },       {          "lon": 30.2, "lat": 55.3, "city": "Witebsk" },       {          "lon": 30.4, "lat": 54.5, "city": "Orscha" },       {          "lon": 30.4, "lat": 54, "city": "Mohilow" },       {          "lon": 32, "lat": 54.8, "city": "Smolensk" },       {          "lon": 33.2, "lat": 54.9, "city": "Dorogobouge" },       {          "lon": 34.3, "lat": 55.2, "city": "Wixma" },       {          "lon": 34.4, "lat": 55.5, "city": "Chjat" },       {          "lon": 36, "lat": 55.5, "city": "Mojaisk" },       {          "lon": 37.6, "lat": 55.8, "city": "Moscou" },       {          "lon": 36.6, "lat": 55.3, "city": "Tarantino" },       {          "lon": 37.3, "lat": 54.8, "city": "Malo-jarosewli" }     ],      "lyra.role": "data_source" },   {      "name": "pipeline_1", "lyra.displayName": "Cities", "source": "cities", "transform": [ {         "type": "geo", "lat": "data.lat", "lon": "data.lon", "projection": "mercator", "center": [ 32.52,           53.3          ],          "translate": [ 400,           250          ],          "scale": 3000 }     ]    },    {      "name": "temps", "format": {}, "values": [ {         "lon": 37.6, "temp": 0, "date": "18 Oct" },       {          "lon": 36, "temp": 0, "date": "24 Oct" },       {          "lon": 33.2, "temp": -9, "date": "09 Nov" },       {          "lon": 32, "temp": -21, "date": "14 Nov" },       {          "lon": 29.2, "temp": -11, "date": "24 Nov" },       {          "lon": 28.5, "temp": -20, "date": "28 Nov" },       {          "lon": 27.2, "temp": -24, "date": "01 Dec" },       {          "lon": 26.7, "temp": -30, "date": "06 Dec" },       {          "lon": 25.3, "temp": -26, "date": "07 Dec" }     ],      "lyra.role": "data_source" },   {      "name": "pipeline_2", "lyra.displayName": "Temperature", "source": "temps", "transform": [ {         "type": "geo", "lat": "lat", "lon": "data.lon", "projection": "mercator", "center": [ 32.52,           53.3          ],          "translate": [ 400,           250          ],          "scale": 3000 },       {          "type": "formula", "field": "lat", "expr": "55" }     ]    }  ],  "scales": [], "marks": [ {     "properties": { "enter": { "x": { "value": 0 },         "width": { "value": 700 },         "y": { "value": 250 },         "height": { "value": 60 },         "clip": { "value": 0 },         "fill": { "value": "#ffffff" },         "fillOpacity": { "value": 0 },         "stroke": { "value": "#000000" },         "strokeWidth": { "value": 0 }       }      },      "scales": [ {         "type": "linear", "points": true, "nice": true, "padding": 0, "zero": true, "reverse": false, "name": "pipeline_2_scale_r1393207153516", "domain": { "data": "pipeline_2", "field": "data.temp" },         "inheritFromGroup": false, "range": "height", "lyra.displayName": "Y" }     ],      "axes": [ {         "type": "y", "orient": "right", "scale": "pipeline_2_scale_r1393207153516", "title": "Temp", "layer": "back", "ticks": 4, "tickSize": 10, "titleOffset": 35, "grid": true, "properties": { "ticks": { "stroke": { "value": "#000" },             "strokeWidth": { "value": 1 }           },            "labels": { "fontSize": { "value": 11 },             "font": { "value": "Helvetica" },             "angle": { "value": 0 },             "fill": { "value": "#000" }           },            "title": { "font": { "value": "Helvetica" },             "fontSize": { "value": 11 },             "fontWeight": { "value": "bold" },             "fill": { "value": "#ffffff" }           },            "axis": { "stroke": { "value": "#000" },             "strokeWidth": { "value": 1 }           },            "grid": { "stroke": { "value": "#d8d8d8" },             "strokeWidth": { "value": 1 }           }          }        }      ],      "marks": [ {         "properties": { "enter": { "x": { "field": "x" },             "y": { "field": "data.temp", "scale": "pipeline_2_scale_r1393207153516" },             "stroke": { "value": "#000000" },             "strokeWidth": { "value": 2 },             "strokeCap": { "value": "butt" }           }          },          "from": { "data": "pipeline_2" },         "name": "line_1393206979835", "type": "line", "lyra.displayName": "Temperature Lines" },       {          "properties": { "enter": { "x": { "value": 0 },             "width": { "value": 0 },             "y": { "value": 0 },             "height": { "value": 60 },             "clip": { "value": 0 },             "fill": { "value": "#ffffff" },             "fillOpacity": { "value": 0 },             "stroke": { "value": "#000000" },             "strokeWidth": { "value": 0 }           }          },          "scales": [ {             "type": "linear", "points": true, "nice": true, "padding": 0, "zero": true, "reverse": false, "name": "pipeline_2_scale_r1393207153516", "domain": { "data": "pipeline_2", "field": "data.temp" },             "inheritFromGroup": false, "range": "height", "lyra.displayName": "Y" },           {              "type": "ordinal", "points": false, "nice": true, "padding": 0.2, "zero": true, "name": "pipeline_0_scale_r1393207176038", "domain": { "data": "pipeline_0_facet", "field": "key" },             "inheritFromGroup": false, "range": "width", "lyra.displayName": "Groups" }         ],          "axes": [], "marks": [ {             "type": "group", "name": "pipeline_0_facet_window", "from": { "transform": [ {                   "type": "window", "size": 2, "step": 1 }               ]              },              "marks": [] }         ],          "name": "pipeline_0_facet", "type": "group", "from": { "data": "pipeline_0_facet" },         "lyra.displayName": "Group By: group, dir", "lyra.groupType": "group" },       {          "properties": { "enter": { "x": { "field": "x" },             "y": { "scale": "pipeline_2_scale_r1393207153516", "field": "data.temp" },             "text": { "field": "vdeTextFormula_layer_1_text_1393208179360" },             "align": { "value": "center" },             "baseline": { "value": "middle" },             "dx": { "value": 0, "offset": 0 },             "dy": { "value": 0, "offset": 14 },             "angle": { "value": 0 },             "font": { "value": "Georgia" },             "fontSize": { "value": 10 },             "fontWeight": { "value": "normal" },             "fontStyle": { "value": "normal" },             "fill": { "value": "#000000" }           }          },          "from": { "transform": [ {               "type": "formula", "field": "vdeTextFormula_layer_1_text_1393208179360", "expr": "d.data.date" }           ],            "data": "pipeline_2" },         "name": "text_1393208179360", "type": "text", "lyra.displayName": "Dates" }     ],      "name": "layer_1", "type": "group", "from": {}, "lyra.displayName": "Temperatures", "lyra.groupType": "layer" },   {      "properties": { "enter": { "x": { "value": 0 },         "width": { "value": 600 },         "y": { "value": 0 },         "height": { "value": 375 },         "clip": { "value": 0 },         "fill": { "value": "#ffffff" },         "fillOpacity": { "value": 0 },         "stroke": { "value": "#000000" },         "strokeWidth": { "value": 0 }       }      },      "scales": [ {         "type": "ordinal", "points": true, "nice": true, "padding": 0, "zero": true, "name": "pipeline_0_scale_r1393206394151", "domain": { "data": "pipeline_0", "field": "data.dir" },         "inheritFromGroup": false, "range": [ "#e3bd64", "#000000"         ],          "lyra.displayName": "Stroke Color" },       {          "type": "linear", "points": true, "nice": true, "padding": 0, "zero": true, "name": "pipeline_0_scale_r1393206397417", "domain": { "data": "pipeline_0", "field": "data.size" },         "inheritFromGroup": false, "range": [ "1",           "50"          ],          "lyra.displayName": "StrokeWidth" }     ],      "axes": [], "marks": [ {         "properties": { "enter": { "x": { "value": 0 },             "width": { "value": 0 },             "y": { "value": 0 },             "height": { "value": 375 },             "clip": { "value": 0 },             "fill": { "value": "#ffffff" },             "fillOpacity": { "value": 0 },             "stroke": { "value": "#000000" },             "strokeWidth": { "value": 0 }           }          },          "scales": [ {             "type": "ordinal", "points": false, "nice": true, "padding": 0.2, "zero": true, "name": "pipeline_0_scale_r1393206235373", "domain": { "data": "pipeline_0_facet", "field": "key" },             "inheritFromGroup": false, "range": "width", "lyra.displayName": "Groups" },           {              "type": "ordinal", "points": true, "nice": true, "padding": 0, "zero": true, "name": "pipeline_0_scale_r1393206394151", "domain": { "data": "pipeline_0", "field": "data.dir" },             "inheritFromGroup": false, "range": [ "#e3bd64", "#000000"             ],              "lyra.displayName": "Stroke Color" },           {              "type": "linear", "points": true, "nice": true, "padding": 0, "zero": true, "name": "pipeline_0_scale_r1393206397417", "domain": { "data": "pipeline_0", "field": "data.size" },             "inheritFromGroup": false, "range": [ "1",               "50"              ],              "lyra.displayName": "StrokeWidth" }         ],          "axes": [], "marks": [ {             "type": "group", "name": "pipeline_0_facet_window", "from": { "transform": [ {                   "type": "window", "size": 2, "step": 1 }               ]              },              "marks": [ {                 "properties": { "enter": { "x": { "field": "x" },                     "y": { "field": "y" },                     "interpolate": { "value": "monotone" },                     "tension": { "value": 0 },                     "stroke": { "scale": "pipeline_0_scale_r1393206394151", "field": "data.dir" },                     "strokeWidth": { "scale": "pipeline_0_scale_r1393206397417", "field": "data.size" },                     "strokeCap": { "value": "round" }                   }                  },                  "from": { "transform": [ {                       "type": "geo", "lat": "data.lat", "lon": "data.lon", "projection": "mercator", "center": [ 32.52,                         53.3                        ],                        "translate": [ 400,                         250                        ],                        "scale": 3000 }                   ],                    "lyra.role": "fork", "lyra.for": "pipeline_0" },                 "name": "line_1393206235371", "type": "line", "lyra.displayName": "Army March" }             ]            }          ],          "name": "pipeline_0_facet", "type": "group", "from": { "data": "pipeline_0_facet" },         "lyra.displayName": "Group By: group, dir", "lyra.groupType": "group" },       {          "properties": { "enter": { "x": { "field": "x" },             "y": { "field": "y" },             "size": { "value": 25 },             "shape": { "value": "circle" },             "fill": { "value": "#e3bd64" },             "fillOpacity": { "value": 1 },             "stroke": { "value": "#000000" },             "strokeWidth": { "value": 0.25 }           }          },          "name": "symbol_1393206665534", "type": "symbol", "from": { "data": "pipeline_1" },         "lyra.displayName": "Cities" },       {          "properties": { "enter": { "x": { "value": 0, "field": "x" },             "y": { "value": 0, "field": "y" },             "text": { "field": "vdeTextFormula_layer_0_text_1393206822628" },             "align": { "value": "center" },             "baseline": { "value": "middle" },             "dx": { "value": 0, "offset": -3 },             "dy": { "value": 0, "offset": -15 },             "angle": { "value": 0 },             "font": { "value": "Georgia" },             "fontSize": { "value": 9 },             "fontWeight": { "value": "normal" },             "fontStyle": { "value": "normal" },             "fill": { "value": "#000000" }           }          },          "from": { "transform": [ {               "type": "formula", "field": "vdeTextFormula_layer_0_text_1393206822628", "expr": "\"\" + d.data.city + \"\"" }           ],            "data": "pipeline_1" },         "name": "text_1393206822628", "type": "text", "lyra.displayName": "City Names" }     ],      "name": "layer_0", "type": "group", "from": {}, "lyra.displayName": "Army", "lyra.groupType": "layer" } ] }