(Andamenti regionali)
(COVID19 - Monitoraggio ed Analisi della situazione italiana)
Riga 21: Riga 21:
  
 
<script>
 
<script>
            Plotly.d3.csv('https://raw.githubusercontent.com/pcm-dpc/COVID-19/master/dati-regioni/dpc-covid19-ita-regioni.csv', function(err, rows){
+
                Plotly.d3.csv('https://raw.githubusercontent.com/pcm-dpc/COVID-19/master/dati-regioni/dpc-covid19-ita-regioni.csv', function(err, rows){
  
 
         function unpack(rows, key) {
 
         function unpack(rows, key) {
Riga 144: Riga 144:
 
                 marker: {
 
                 marker: {
 
                     size: 10,
 
                     size: 10,
                     opacity: 0.5
+
                     opacity: 0.5,
 +
                    symbol: 'triangle-down'
 
                 }
 
                 }
 
             };
 
             };
Riga 157: Riga 158:
 
                 marker: {
 
                 marker: {
 
                     size: 10,
 
                     size: 10,
                     opacity: 0.5
+
                     opacity: 0.5,
 +
                    symbol: 'triangle-left'
 
                 }
 
                 }
 
             };
 
             };
Riga 170: Riga 172:
 
                 marker: {
 
                 marker: {
 
                     size: 10,
 
                     size: 10,
                     opacity: 0.5
+
                     opacity: 0.5,
 +
                    symbol: 'triangle-right'
 
                 }
 
                 }
 
             };
 
             };
Riga 183: Riga 186:
 
                 marker: {
 
                 marker: {
 
                     size: 10,
 
                     size: 10,
                     opacity: 0.5
+
                     opacity: 0.5,
 +
                    symbol: 'pentagon'
 
                 }
 
                 }
 
             };
 
             };
Riga 195: Riga 199:
 
                 marker: {
 
                 marker: {
 
                     size: 10,
 
                     size: 10,
                     opacity: 0.5
+
                     opacity: 0.5,
 +
                    symbol: 'triangle-up'
 +
                   
 
                 }
 
                 }
 
             };
 
             };
Riga 207: Riga 213:
 
                 marker: {
 
                 marker: {
 
                     size: 10,
 
                     size: 10,
                     opacity: 0.5
+
                     opacity: 0.5,
 +
                    symbol: 'star'
 +
                   
 
                 }
 
                 }
 
             };
 
             };
Riga 219: Riga 227:
 
                 marker: {
 
                 marker: {
 
                     size: 10,
 
                     size: 10,
                     opacity: 0.5
+
                     opacity: 0.5,
 +
                    symbol: 'diamond'
 
                 }
 
                 }
 
             };
 
             };
Riga 232: Riga 241:
 
                 marker: {
 
                 marker: {
 
                     size: 10,
 
                     size: 10,
                     opacity: 0.5
+
                     opacity: 0.5,
 +
                    symbol: 'square'
 
                 }
 
                 }
 
             };
 
             };
Riga 244: Riga 254:
 
                 marker: {
 
                 marker: {
 
                     size: 10,
 
                     size: 10,
                     opacity: 0.5
+
                     opacity: 0.5,
 +
                    symbol: 'cross'
 
                 }
 
                 }
 
             };
 
             };
Riga 256: Riga 267:
 
                 marker: {
 
                 marker: {
 
                     size: 10,
 
                     size: 10,
                     opacity: 0.5
+
                     opacity: 0.5,
 +
                    symbol: 'x'
 +
                   
 
                 }
 
                 }
 
             };
 
             };
Riga 313: Riga 326:
 
             var layout = {
 
             var layout = {
 
                 title: 'Andamento regionale ' + currTitle,
 
                 title: 'Andamento regionale ' + currTitle,
                 height: 500,
+
                 height: 600,
 
                 //width: 800,
 
                 //width: 800,
 
                 margin: { l: 40, r: 0},
 
                 margin: { l: 40, r: 0},
Riga 321: Riga 334:
 
                 legend: { orientation: "h" ,
 
                 legend: { orientation: "h" ,
 
                         x: 0,
 
                         x: 0,
                         y: -1},
+
                         y: -0.5},
 
                 xaxis: {
 
                 xaxis: {
 
                     tickmode: "linear", //  If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick`
 
                     tickmode: "linear", //  If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick`

Revisione 22:01, 14 Mar 2020

COVID19 - Monitoraggio ed Analisi della situazione italiana

Andamenti regionali

Regione:

Disclaimer

Dati forniti dal Ministero della Salute, elaborazione e gestione dati a cura del Dipartimento della Protezione Civile: https://github.com/pcm-dpc/COVID-19

Rielaborazione a cura del Control of Dynamic System Lab, Politecnico di Bari

COVID19 - Monitoraggio ed Analisi della situazione italiana[edit]

Andamenti regionali[edit]

Regione:

Disclaimer[edit]

Dati forniti dal Ministero della Salute, elaborazione e gestione dati a cura del Dipartimento della Protezione Civile: https://github.com/pcm-dpc/COVID-19

Rielaborazione a cura del Control of Dynamic System Lab, Politecnico di Bari