Grafana dashboard: Covid 19
Description: Corona / Covid 19 Dashboard with Grafana Infinity Datasource

Corona / Covid 19 Dashboard with Grafana Infinity Datasource

[![image](https://user-images.githubusercontent.com/153843/94697527-36f0db00-0330-11eb-95a0-879a425b974a.png)](https://github.com/yesoreyeram/grafana-infinity-datasource/issues/3)

https://github.com/yesoreyeram/grafana-infinity-datasource

{
  "__inputs": [
    {
      "name": "DS_DEMO",
      "label": "Demo",
      "description": "Grafana Infinity Datasource",
      "type": "datasource",
      "pluginId": "yesoreyeram-infinity-datasource",
      "pluginName": "Infinity"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.2.0-beta2"
    },
    {
      "type": "panel",
      "id": "grafana-piechart-panel",
      "name": "Pie Chart",
      "version": "1.6.0"
    },
    {
      "type": "panel",
      "id": "grafana-worldmap-panel",
      "name": "Worldmap Panel",
      "version": "0.3.2"
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "yesoreyeram-infinity-datasource",
      "name": "Infinity",
      "version": "0.4.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 13111,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "panels": [
    {
      "datasource": "${DS_DEMO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Total Confirmed Cases"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "lcd-gauge"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Total Deaths"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "gradient-gauge"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 14,
        "w": 10,
        "x": 0,
        "y": 0
      },
      "id": 2,
      "options": {
        "showHeader": true,
        "sortBy": [
          {
            "desc": true,
            "displayName": "Total Deaths"
          }
        ]
      },
      "pluginVersion": "7.2.0-beta2",
      "targets": [
        {
          "columns": [
            {
              "selector": "Country",
              "text": "Country name",
              "type": "string"
            },
            {
              "selector": "TotalConfirmed",
              "text": "Total Confirmed Cases",
              "type": "number"
            },
            {
              "selector": "TotalDeaths",
              "text": "Total Deaths",
              "type": "number"
            }
          ],
          "data": "",
          "format": "table",
          "global_query_id": "",
          "query_mode": "standard",
          "refId": "A",
          "root_selector": "Countries",
          "source": "url",
          "type": "json",
          "url": "https://api.covid19api.com/summary",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Panel Title",
      "type": "table"
    },
    {
      "circleMaxSize": 30,
      "circleMinSize": 2,
      "colors": [
        "rgba(245, 54, 54, 0.9)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(50, 172, 45, 0.97)"
      ],
      "datasource": "${DS_DEMO}",
      "decimals": 0,
      "esMetric": "Count",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Total Confirmed Cases"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "lcd-gauge"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Total Deaths"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "gradient-gauge"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 11,
        "w": 14,
        "x": 10,
        "y": 0
      },
      "hideEmpty": false,
      "hideZero": false,
      "id": 3,
      "initialZoom": 1,
      "locationData": "countries",
      "mapCenter": "(0°, 0°)",
      "mapCenterLatitude": 0,
      "mapCenterLongitude": 0,
      "maxDataPoints": 1,
      "mouseWheelZoom": false,
      "pluginVersion": "7.2.0-beta2",
      "showLegend": true,
      "stickyLabels": false,
      "tableQueryOptions": {
        "geohashField": "geohash",
        "latitudeField": "latitude",
        "longitudeField": "longitude",
        "metricField": "metric",
        "queryType": "geohash"
      },
      "targets": [
        {
          "columns": [
            {
              "selector": "CountryCode",
              "text": "Country name",
              "type": "string"
            },
            {
              "selector": "TotalConfirmed",
              "text": "Total Confirmed Cases",
              "type": "number"
            }
          ],
          "data": "",
          "format": "timeseries",
          "global_query_id": "",
          "query_mode": "standard",
          "refId": "A",
          "root_selector": "Countries",
          "source": "url",
          "type": "json",
          "url": "https://api.covid19api.com/summary",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "thresholds": "0,10",
      "timeFrom": null,
      "timeShift": null,
      "title": "Panel Title",
      "type": "grafana-worldmap-panel",
      "unitPlural": "",
      "unitSingle": "",
      "valueName": "total"
    },
    {
      "circleMaxSize": 30,
      "circleMinSize": 2,
      "colors": [
        "#37872D",
        "rgba(237, 129, 40, 0.89)",
        "#C4162A"
      ],
      "datasource": "${DS_DEMO}",
      "decimals": 0,
      "esLocationName": "",
      "esMetric": "Count",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Total Confirmed Cases"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "lcd-gauge"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Total Deaths"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "gradient-gauge"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 11,
        "w": 14,
        "x": 10,
        "y": 11
      },
      "hideEmpty": false,
      "hideZero": false,
      "id": 5,
      "initialZoom": "4",
      "locationData": "table",
      "mapCenter": "North America",
      "mapCenterLatitude": 40,
      "mapCenterLongitude": -100,
      "maxDataPoints": 1,
      "mouseWheelZoom": false,
      "pluginVersion": "7.2.0-beta2",
      "showLegend": true,
      "stickyLabels": false,
      "tableQueryOptions": {
        "geohashField": "geohash",
        "labelField": "County name",
        "latitudeField": "latitude",
        "longitudeField": "longitude",
        "metricField": "Total Confirmed Cases",
        "queryType": "coordinates"
      },
      "targets": [
        {
          "columns": [
            {
              "selector": "county_name",
              "text": "County name",
              "type": "string"
            },
            {
              "selector": "confirmed",
              "text": "Total Confirmed Cases",
              "type": "number"
            },
            {
              "selector": "latitude",
              "text": "latitude",
              "type": "string"
            },
            {
              "selector": "longitude",
              "text": "longitude",
              "type": "string"
            }
          ],
          "data": "",
          "format": "table",
          "global_query_id": "",
          "query_mode": "standard",
          "refId": "A",
          "root_selector": "message",
          "source": "url",
          "type": "json",
          "url": "https://covid19-us-api.herokuapp.com/county",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "thresholds": "1000,10000",
      "timeFrom": null,
      "timeShift": null,
      "title": "Panel Title",
      "type": "grafana-worldmap-panel",
      "unitPlural": "",
      "unitSingle": "",
      "valueName": "total"
    },
    {
      "aliasColors": {},
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "${DS_DEMO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Total Confirmed Cases"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "lcd-gauge"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Total Deaths"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "gradient-gauge"
              }
            ]
          }
        ]
      },
      "fontSize": "80%",
      "format": "short",
      "gridPos": {
        "h": 14,
        "w": 10,
        "x": 0,
        "y": 14
      },
      "id": 4,
      "interval": null,
      "legend": {
        "show": true,
        "sort": null,
        "sortDesc": null,
        "values": true
      },
      "legendType": "Under graph",
      "links": [],
      "nullPointMode": "connected",
      "pieType": "pie",
      "pluginVersion": "7.2.0-beta2",
      "strokeWidth": 1,
      "targets": [
        {
          "columns": [
            {
              "selector": "Country",
              "text": "Country name",
              "type": "string"
            },
            {
              "selector": "TotalDeaths",
              "text": "Total Deaths",
              "type": "number"
            }
          ],
          "data": "",
          "format": "timeseries",
          "global_query_id": "",
          "query_mode": "standard",
          "refId": "A",
          "root_selector": "Countries",
          "source": "url",
          "type": "json",
          "url": "https://api.covid19api.com/summary",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Panel Title",
      "type": "grafana-piechart-panel",
      "valueName": "current"
    }
  ],
  "schemaVersion": 26,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "Covid 19",
  "uid": "tl1hCz5Gz",
  "version": 1,
  "description": "Corona / Covid 19 Dashboard with Grafana Infinity Datasource"
}