Format: Covid/Med/Echipament/Graf: Diferență între versiuni
De la alegeri.md
< Format:Covid | Med | Echipament
Oleg (Discuție | contribuții) |
Oleg (Discuție | contribuții) |
||
(Nu s-au afișat 34 de versiuni intermediare efectuate de același utilizator) | |||
Linia 1: | Linia 1: | ||
− | = | + | <div class="hidden-xs hidden-sm hidden-md"> |
<graph> | <graph> | ||
{ | { | ||
"version":2, | "version":2, | ||
− | "width": | + | "width":865, |
"height":350, | "height":350, | ||
− | |||
"data": [ | "data": [ | ||
{ | { | ||
Linia 164: | Linia 163: | ||
{"mdata":152, "masti":2234140, "manusi":757145, "costume":273830, "viziere":139817}, | {"mdata":152, "masti":2234140, "manusi":757145, "costume":273830, "viziere":139817}, | ||
{"mdata":153, "masti":2234140, "manusi":757145, "costume":273830, "viziere":139817}, | {"mdata":153, "masti":2234140, "manusi":757145, "costume":273830, "viziere":139817}, | ||
− | {"mdata":154, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077} | + | {"mdata":154, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, |
+ | {"mdata":155, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, | ||
+ | {"mdata":156, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, | ||
+ | {"mdata":157, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, | ||
+ | {"mdata":158, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, | ||
+ | {"mdata":159, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, | ||
+ | {"mdata":160, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, | ||
+ | {"mdata":161, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, | ||
+ | {"mdata":162, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, | ||
+ | {"mdata":163, "masti":2333040, "manusi":791745, "costume":319100, "viziere":141577}, | ||
+ | {"mdata":164, "masti":2333040, "manusi":791745, "costume":319100, "viziere":141577}, | ||
+ | {"mdata":165, "masti":2333040, "manusi":791745, "costume":319100, "viziere":141577}, | ||
+ | {"mdata":166, "masti":2333040, "manusi":791745, "costume":319100, "viziere":141577}, | ||
+ | {"mdata":167, "masti":2333040, "manusi":791745, "costume":319100, "viziere":141577}, | ||
+ | {"mdata":168, "masti":2333040, "manusi":791745, "costume":319100, "viziere":141577}, | ||
+ | {"mdata":169, "masti":2333040, "manusi":791745, "costume":319100, "viziere":141577}, | ||
+ | {"mdata":170, "masti":2345653, "manusi":791745, "costume":350300, "viziere":141577}, | ||
+ | {"mdata":171, "masti":2345653, "manusi":791745, "costume":350300, "viziere":141577}, | ||
+ | {"mdata":172, "masti":2345653, "manusi":791745, "costume":350300, "viziere":141577}, | ||
+ | {"mdata":173, "masti":2345653, "manusi":791745, "costume":350300, "viziere":141577}, | ||
+ | {"mdata":174, "masti":2445653, "manusi":1071745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":175, "masti":2445653, "manusi":1071745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":176, "masti":2445653, "manusi":1141745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":177, "masti":2445653, "manusi":1141745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":178, "masti":2445653, "manusi":1141745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":179, "masti":2445653, "manusi":1141745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":180, "masti":2445653, "manusi":1141745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":181, "masti":2445653, "manusi":1141745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":182, "masti":2445653, "manusi":1141745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":183, "masti":2445653, "manusi":1141745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":184, "masti":2486653, "manusi":1272345, "costume":398910, "viziere":161577} | ||
] | ] | ||
}, | }, | ||
Linia 170: | Linia 199: | ||
"name":"annotation", | "name":"annotation", | ||
"values": [ | "values": [ | ||
− | {"start":" | + | {"start":"14", "end":"74", "text":"Stare de urgență "}, |
− | |||
− | |||
− | |||
− | |||
] | ] | ||
− | } | + | }, |
+ | { | ||
+ | "name": "visdates", | ||
+ | "values": [ | ||
+ | {"name":"3 martie", "pos":"0"}, | ||
+ | {"name":"17 martie", "pos":"14"}, | ||
+ | {"name":"15 mai", "pos":"66"}, | ||
+ | {"name":"3 septembrie", "pos":"169"} | ||
+ | ] | ||
+ | } | ||
], | ], | ||
// | // | ||
Linia 196: | Linia 230: | ||
"type":"ordinal", | "type":"ordinal", | ||
"domain": {"data":"annotation", "field":"text"}, | "domain": {"data":"annotation", "field":"text"}, | ||
− | "range": ["# | + | "range": ["#c00"] |
}, | }, | ||
], | ], | ||
Linia 204: | Linia 238: | ||
"type":"x", | "type":"x", | ||
"scale":"x", | "scale":"x", | ||
− | "tickSize": 5, | + | //"tickSize": 5, |
− | "values": [], | + | "values": [21, 22, 24, 27, 28, 29, 30, 34, 36, 37, 38, 41, 42, 44, 49, 50, 51, 55, 56, 57, 58, 65, 66, 69, 70, 76, 79, 84, 91, 94, 98, 100, 107, 108, 112, 118, 119, 123, 127, 133, 140, 146, 148, 154, 163, 170, 174, 176], |
"properties": | "properties": | ||
{ | { | ||
"ticks": {"stroke": {"value":"#aaa"}}, | "ticks": {"stroke": {"value":"#aaa"}}, | ||
− | "labels": {"fill": {"value":"# | + | "labels": {"fill": {"value":"#fff"}, "fontSize": {"value":1}}, |
− | "axis": {"stroke": {"value":"#ccc"}} | + | "axis": {"stroke": {"value":"#ccc"}}, |
}, | }, | ||
}, | }, | ||
Linia 216: | Linia 250: | ||
"type":"y", | "type":"y", | ||
"scale":"y", | "scale":"y", | ||
+ | //"format":"s", | ||
"grid":true, | "grid":true, | ||
− | + | "layer":"front", | |
− | |||
"properties": | "properties": | ||
{ | { | ||
Linia 224: | Linia 258: | ||
"labels": {"fill": {"value":"#666"}, "fontSize": {"value":12}}, | "labels": {"fill": {"value":"#666"}, "fontSize": {"value":12}}, | ||
"axis": {"stroke": {"value":"#ccc"}}, | "axis": {"stroke": {"value":"#ccc"}}, | ||
− | + | "grid": {"stroke": {"value":"#999"}, "strokeWidth": {"value":1}}, | |
} | } | ||
}, | }, | ||
Linia 230: | Linia 264: | ||
// | // | ||
"marks": [ | "marks": [ | ||
+ | { | ||
+ | "type": "text", | ||
+ | "from": {"data":"visdates"}, | ||
+ | "properties": { | ||
+ | "enter": { | ||
+ | "x": {"scale":"x", "field":"pos"}, | ||
+ | "y": {"value": 368}, | ||
+ | "fill": {"value":"#666"}, | ||
+ | "text": {"field":"name"}, | ||
+ | "fontSize": {"value":12} | ||
+ | } | ||
+ | } | ||
+ | }, | ||
{ | { | ||
"type":"rect", | "type":"rect", | ||
Linia 240: | Linia 287: | ||
"y2": {"signal":"height"}, | "y2": {"signal":"height"}, | ||
"fill": {"scale":"color", "field":"text"}, | "fill": {"scale":"color", "field":"text"}, | ||
− | "opacity": {"value":0. | + | "opacity": {"value":0.1} |
} | } | ||
} | } | ||
Linia 302: | Linia 349: | ||
"x": {"signal":"width", "mult":0.5}, | "x": {"signal":"width", "mult":0.5}, | ||
"y": {"value": -10}, | "y": {"value": -10}, | ||
− | "text": {"template":"Distribuția echipamentelor de protecție individuală"}, | + | "text": {"template":"Distribuția echipamentelor de protecție individuală (3 martie – 3 septembrie 2020)"}, |
"fill": {"value":"#336"}, | "fill": {"value":"#336"}, | ||
"fontSize": {"value":15}, | "fontSize": {"value":15}, | ||
Linia 316: | Linia 363: | ||
"fill":"color", | "fill":"color", | ||
"properties": { | "properties": { | ||
+ | "labels": {"fontSize": {"value":12}, "fill": {"value":"#666"}}, | ||
"symbols": { | "symbols": { | ||
− | + | "strokeWidth": {"value":0}, | |
− | + | "shape": {"value":"square"}, | |
− | + | "opacity": {"value":0} | |
− | }, | + | }, |
− | + | "legend": { | |
− | + | "x": {"value":150}, | |
− | + | "y": {"value":16}, | |
− | |||
} | } | ||
} | } | ||
Linia 331: | Linia 378: | ||
} | } | ||
</graph> | </graph> | ||
− | + | </div> | |
− | + | <div class="hidden-lg"> | |
− | |||
− | < | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<graph> | <graph> | ||
{ | { | ||
"version":2, | "version":2, | ||
− | "width": | + | "width":500, |
"height":350, | "height":350, | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
"data": [ | "data": [ | ||
{ | { | ||
Linia 837: | Linia 543: | ||
{"mdata":152, "masti":2234140, "manusi":757145, "costume":273830, "viziere":139817}, | {"mdata":152, "masti":2234140, "manusi":757145, "costume":273830, "viziere":139817}, | ||
{"mdata":153, "masti":2234140, "manusi":757145, "costume":273830, "viziere":139817}, | {"mdata":153, "masti":2234140, "manusi":757145, "costume":273830, "viziere":139817}, | ||
− | {"mdata":154, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077} | + | {"mdata":154, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, |
+ | {"mdata":155, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, | ||
+ | {"mdata":156, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, | ||
+ | {"mdata":157, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, | ||
+ | {"mdata":158, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, | ||
+ | {"mdata":159, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, | ||
+ | {"mdata":160, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, | ||
+ | {"mdata":161, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, | ||
+ | {"mdata":162, "masti":2274140, "manusi":757145, "costume":307030, "viziere":140077}, | ||
+ | {"mdata":163, "masti":2333040, "manusi":791745, "costume":319100, "viziere":141577}, | ||
+ | {"mdata":164, "masti":2333040, "manusi":791745, "costume":319100, "viziere":141577}, | ||
+ | {"mdata":165, "masti":2333040, "manusi":791745, "costume":319100, "viziere":141577}, | ||
+ | {"mdata":166, "masti":2333040, "manusi":791745, "costume":319100, "viziere":141577}, | ||
+ | {"mdata":167, "masti":2333040, "manusi":791745, "costume":319100, "viziere":141577}, | ||
+ | {"mdata":168, "masti":2333040, "manusi":791745, "costume":319100, "viziere":141577}, | ||
+ | {"mdata":169, "masti":2333040, "manusi":791745, "costume":319100, "viziere":141577}, | ||
+ | {"mdata":170, "masti":2345653, "manusi":791745, "costume":350300, "viziere":141577}, | ||
+ | {"mdata":171, "masti":2345653, "manusi":791745, "costume":350300, "viziere":141577}, | ||
+ | {"mdata":172, "masti":2345653, "manusi":791745, "costume":350300, "viziere":141577}, | ||
+ | {"mdata":173, "masti":2345653, "manusi":791745, "costume":350300, "viziere":141577}, | ||
+ | {"mdata":174, "masti":2445653, "manusi":1071745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":175, "masti":2445653, "manusi":1071745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":176, "masti":2445653, "manusi":1141745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":177, "masti":2445653, "manusi":1141745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":178, "masti":2445653, "manusi":1141745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":179, "masti":2445653, "manusi":1141745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":180, "masti":2445653, "manusi":1141745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":181, "masti":2445653, "manusi":1141745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":182, "masti":2445653, "manusi":1141745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":183, "masti":2445653, "manusi":1141745, "costume":361910, "viziere":161577}, | ||
+ | {"mdata":184, "masti":2486653, "manusi":1272345, "costume":398910, "viziere":161577} | ||
] | ] | ||
}, | }, | ||
Linia 843: | Linia 579: | ||
"name":"annotation", | "name":"annotation", | ||
"values": [ | "values": [ | ||
− | {"start":" | + | {"start":"14", "end":"74", "text":"Stare de urgență "}, |
− | |||
− | |||
− | |||
− | |||
] | ] | ||
− | } | + | }, |
+ | { | ||
+ | "name": "visdates", | ||
+ | "values": [ | ||
+ | {"name":"3 martie", "pos":"0"}, | ||
+ | {"name":"3 septembrie", "pos":"158"} | ||
+ | ] | ||
+ | } | ||
], | ], | ||
// | // | ||
Linia 869: | Linia 608: | ||
"type":"ordinal", | "type":"ordinal", | ||
"domain": {"data":"annotation", "field":"text"}, | "domain": {"data":"annotation", "field":"text"}, | ||
− | "range": ["# | + | "range": ["#c00"] |
}, | }, | ||
], | ], | ||
Linia 877: | Linia 616: | ||
"type":"x", | "type":"x", | ||
"scale":"x", | "scale":"x", | ||
− | "tickSize": 5, | + | //"tickSize": 5, |
− | "values": [], | + | "values": [21, 22, 24, 27, 28, 29, 30, 34, 36, 37, 38, 41, 42, 44, 49, 50, 51, 55, 56, 57, 58, 65, 66, 69, 70, 76, 79, 84, 91, 94, 98, 100, 107, 108, 112, 118, 119, 123, 127, 133, 140, 146, 148, 154, 163, 170, 174, 176], |
"properties": | "properties": | ||
{ | { | ||
"ticks": {"stroke": {"value":"#aaa"}}, | "ticks": {"stroke": {"value":"#aaa"}}, | ||
− | "labels": {"fill": {"value":"# | + | "labels": {"fill": {"value":"#fff"}, "fontSize": {"value":1}}, |
− | "axis": {"stroke": {"value":"#ccc"}} | + | "axis": {"stroke": {"value":"#ccc"}}, |
}, | }, | ||
}, | }, | ||
Linia 889: | Linia 628: | ||
"type":"y", | "type":"y", | ||
"scale":"y", | "scale":"y", | ||
+ | "format":"s", | ||
"grid":true, | "grid":true, | ||
− | + | "layer":"front", | |
− | |||
"properties": | "properties": | ||
{ | { | ||
Linia 897: | Linia 636: | ||
"labels": {"fill": {"value":"#666"}, "fontSize": {"value":12}}, | "labels": {"fill": {"value":"#666"}, "fontSize": {"value":12}}, | ||
"axis": {"stroke": {"value":"#ccc"}}, | "axis": {"stroke": {"value":"#ccc"}}, | ||
− | + | "grid": {"stroke": {"value":"#999"}, "strokeWidth": {"value":1}}, | |
} | } | ||
}, | }, | ||
Linia 903: | Linia 642: | ||
// | // | ||
"marks": [ | "marks": [ | ||
+ | { | ||
+ | "type": "text", | ||
+ | "from": {"data":"visdates"}, | ||
+ | "properties": { | ||
+ | "enter": { | ||
+ | "x": {"scale":"x", "field":"pos"}, | ||
+ | "y": {"value": 368}, | ||
+ | "fill": {"value":"#666"}, | ||
+ | "text": {"field":"name"}, | ||
+ | "fontSize": {"value":12} | ||
+ | } | ||
+ | } | ||
+ | }, | ||
{ | { | ||
"type":"rect", | "type":"rect", | ||
Linia 913: | Linia 665: | ||
"y2": {"signal":"height"}, | "y2": {"signal":"height"}, | ||
"fill": {"scale":"color", "field":"text"}, | "fill": {"scale":"color", "field":"text"}, | ||
− | "opacity": {"value":0. | + | "opacity": {"value":0.1} |
} | } | ||
} | } | ||
Linia 989: | Linia 741: | ||
"fill":"color", | "fill":"color", | ||
"properties": { | "properties": { | ||
+ | "labels": {"fontSize": {"value":12}, "fill": {"value":"#666"}}, | ||
"symbols": { | "symbols": { | ||
− | + | "strokeWidth": {"value":0}, | |
− | + | "shape": {"value":"square"}, | |
− | + | "opacity": {"value":0} | |
− | }, | + | }, |
− | + | "legend": { | |
− | + | "x": {"value":63}, | |
− | + | "y": {"value":16}, | |
− | |||
} | } | ||
} | } | ||
Linia 1.004: | Linia 756: | ||
} | } | ||
</graph> | </graph> | ||
+ | </div> |