Grafana dashboard: Covid India
Description: Dashboards for tracking COVID-19 spread in India in realtime.

It's backed by python written modules to gather and parse data.
Data is stored in DB in most efficient way to load dashboards quickly 

Checkout below github repo for more details

https://github.com/vikkyomkar/communityhelpcovid19

Live Site -> https://indiafightscovid19.online

{
  "__inputs": [
    {
      "name": "InfluxDB",
      "label": "InfluxDB covid19",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "6.7.0"
    },
    {
      "type": "panel",
      "id": "grafana-worldmap-panel",
      "name": "Worldmap Panel",
      "version": "0.2.1"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 12560,
  "graphTooltip": 0,
  "id": 1,
  "links": [],
  "panels": [
    {
      "columns": [],
      "datasource": "InfluxDB",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSize": "100%",
      "gridPos": {
        "h": 2,
        "w": 6,
        "x": 0,
        "y": 0
      },
      "hideTimeOverride": true,
      "id": 40,
      "links": [],
      "pageSize": null,
      "scroll": true,
      "showHeader": true,
      "sort": {
        "col": 0,
        "desc": true
      },
      "styles": [
        {
          "alias": "Last Updated On",
          "align": "auto",
          "dateFormat": "MMMM D, YYYY LT",
          "pattern": "Time",
          "type": "date"
        },
        {
          "alias": "",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "decimals": 2,
          "pattern": "/.*/",
          "thresholds": [],
          "type": "hidden",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "groupBy": [],
          "measurement": "basicstats",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "covidDays"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": "1d",
      "timeShift": null,
      "title": "",
      "transform": "timeseries_to_rows",
      "transparent": true,
      "type": "table-old"
    },
    {
      "content": "<p style=\"text-align:center;color:blue\">\n<font size=\"2\"><i>Updated hotspots for Bangalore, GB Nagar, Agra and Bhopal<i/>  \n<p style=\"text-align:center\">\n<b>\n <font size=\"2\">Click for &nbsp;<font size=\"3\"><a href=\"https://indiafightscovid19.online/d/yikrMvqZk/covid19-testing-stats\" style=\"color:#FF0000;\">TestingStats</a>&nbsp;&nbsp;&nbsp;<a href=\"https://indiafightscovid19.online/d/Apmm6qjWk/states-data?orgId=1\" style=\"color:#FF0000;\">StatesData</a>&nbsp;&nbsp;&nbsp;<a href=\"https://indiafightscovid19.online/d/-AZIK9CWk/hotspot-areas?orgId=1\" style=\"color:#FF0000;\">HotspotAreas</a>&nbsp;<font size=\"2\"></b>\n<br /> <a href=\"https://wa.me/?text=https://indiafightscovid19.online %0A%0AFollow this site for latest corona updates and stay safe !!!\" style=\"color:purple;\">Share this link with people you care for</a>\n<i class=\"fa fa-whatsapp\" style=\"font-size:24px;color:green\"></i>\n  \n ",
      "datasource": null,
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 17,
        "x": 7,
        "y": 0
      },
      "id": 43,
      "mode": "html",
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transparent": true,
      "type": "text"
    },
    {
      "cacheTimeout": null,
      "datasource": "InfluxDB",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [
            {
              "id": 0,
              "op": "=",
              "text": "N/A",
              "type": 1,
              "value": "null"
            }
          ],
          "nullValueMode": "connected",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-blue",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 130
              },
              {
                "color": "semi-dark-green",
                "value": 500
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 8,
        "x": 0,
        "y": 3
      },
      "hideTimeOverride": true,
      "id": 45,
      "links": [],
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        }
      },
      "pluginVersion": "7.0.3",
      "targets": [
        {
          "alias": "India Covid19 Days",
          "groupBy": [],
          "measurement": "basicstats",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "covidDays"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Lockdown Days",
          "groupBy": [],
          "measurement": "basicstats",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "lockdownDays"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Samples tested so far",
          "groupBy": [],
          "measurement": "covid_india",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "totalsamplestested"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": "1d",
      "timeShift": null,
      "title": "India's Fight with covid19",
      "type": "stat"
    },
    {
      "cacheTimeout": null,
      "datasource": "InfluxDB",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [
            {
              "id": 0,
              "op": "=",
              "text": "N/A",
              "type": 1,
              "value": "null"
            }
          ],
          "nullValueMode": "connected",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "light-purple",
                "value": null
              },
              {
                "color": "semi-dark-red",
                "value": 1
              },
              {
                "color": "semi-dark-green",
                "value": 7346
              },
              {
                "color": "semi-dark-orange",
                "value": 10712
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 8,
        "x": 8,
        "y": 3
      },
      "hideTimeOverride": true,
      "id": 48,
      "links": [],
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        }
      },
      "pluginVersion": "7.0.3",
      "targets": [
        {
          "alias": "Confirmed",
          "groupBy": [],
          "hide": false,
          "measurement": "covid_india",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "homedeltaconfirmed"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "confirmed"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Confirmed",
          "groupBy": [],
          "hide": true,
          "measurement": "covid_india",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "sdeltaconfirmed"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "confirmed"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Recovered",
          "groupBy": [],
          "measurement": "covid_india",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "sdeltarecovered"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Deaths",
          "groupBy": [],
          "measurement": "covid_india",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "sdeltadeaths"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": "1d",
      "timeShift": null,
      "title": "New Cases",
      "type": "stat"
    },
    {
      "cacheTimeout": null,
      "datasource": "InfluxDB",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [
            {
              "id": 0,
              "op": "=",
              "text": "N/A",
              "type": 1,
              "value": "null"
            }
          ],
          "nullValueMode": "connected",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-red",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 20000
              },
              {
                "color": "semi-dark-blue",
                "value": 142000
              },
              {
                "color": "semi-dark-green",
                "value": 268000
              },
              {
                "color": "semi-dark-orange",
                "value": 466000
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 8,
        "x": 16,
        "y": 3
      },
      "hideTimeOverride": true,
      "id": 50,
      "links": [],
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        }
      },
      "pluginVersion": "7.0.3",
      "targets": [
        {
          "alias": "Confirmed",
          "groupBy": [],
          "measurement": "covid_india",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "sconfirmed"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "confirmed"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Active",
          "groupBy": [],
          "measurement": "covid_india",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "E",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "sactive"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "confirmed"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Recovered",
          "groupBy": [],
          "measurement": "covid_india",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "srecovered"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Deaths",
          "groupBy": [],
          "measurement": "covid_india",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "sdeaths"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": "1d",
      "timeShift": null,
      "title": "Total Cases",
      "type": "stat"
    },
    {
      "aliasColors": {
        "Active": "rgba(35, 57, 171, 0.8)",
        "Active Curve": "light-orange",
        "Active Line": "light-red",
        "Confirmed": "semi-dark-blue",
        "Confirmed Curve": "rgb(184, 39, 178)",
        "Corona Curve": "light-red",
        "Deceased": "rgb(235, 72, 91)",
        "Recovered": "rgb(71, 237, 49)"
      },
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "InfluxDB",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 0,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 10,
        "x": 0,
        "y": 6
      },
      "hiddenSeries": false,
      "hideTimeOverride": true,
      "id": 14,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "hideEmpty": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": true,
        "values": true
      },
      "lines": false,
      "linewidth": 3,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "Confirmed Curve",
          "bars": false,
          "lines": true,
          "yaxis": 1
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$col",
          "groupBy": [],
          "measurement": "covid_india",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"dailyactive\"  + \"dailyrecovered\"  + \"dailydeceased\" AS \"Confirmed\", \"dailyrecovered\" AS \"Recovered\", \"dailydeceased\" AS \"Deceased\" FROM \"covid_india\" WHERE $timeFilter",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "dailyconfirmed"
                ],
                "type": "field"
              },
              {
                "params": [
                  "Confirmed"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "dailyrecovered"
                ],
                "type": "field"
              },
              {
                "params": [
                  "Recovered"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "dailydeceased"
                ],
                "type": "field"
              },
              {
                "params": [
                  "Deceased"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "Confirmed Curve",
          "groupBy": [],
          "hide": false,
          "measurement": "covid_india",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT \"dailyactive\"  + \"dailyrecovered\"  + \"dailydeceased\" AS \"Confirmed\" FROM \"covid_india\" WHERE $timeFilter",
          "rawQuery": false,
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "dailyconfirmed"
                ],
                "type": "field"
              },
              {
                "params": [
                  "Active"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": "70d",
      "timeRegions": [],
      "timeShift": "4h",
      "title": "Daily Case Trend",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "columns": [],
      "datasource": "InfluxDB",
      "description": "State Unassigned - MoHFW reports that these cases are being reassigned to states",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSize": "100%",
      "gridPos": {
        "h": 15,
        "w": 6,
        "x": 10,
        "y": 6
      },
      "hideTimeOverride": true,
      "id": 29,
      "links": [],
      "pageSize": null,
      "scroll": true,
      "showHeader": true,
      "sort": {
        "col": 2,
        "desc": true
      },
      "styles": [
        {
          "alias": "Time",
          "align": "auto",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "pattern": "Time",
          "type": "hidden"
        },
        {
          "alias": "State/UT",
          "align": "left",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "decimals": 2,
          "link": true,
          "linkTargetBlank": true,
          "linkTooltip": "More details",
          "linkUrl": "https://indiafightscovid19.online/d/Apmm6qjWk/states-data?orgId=1&var-state=${__cell}",
          "mappingType": 1,
          "pattern": "state",
          "preserveFormat": false,
          "thresholds": [],
          "type": "string",
          "unit": "short",
          "valueMaps": [
            {
              "text": "Andaman_and_Nicobar",
              "value": "Andaman_and_Nicobar_Islands"
            },
            {
              "text": "Jammu & Kashmir",
              "value": "Jammu_and_Kashmir"
            }
          ]
        },
        {
          "alias": "",
          "align": "auto",
          "colorMode": "cell",
          "colors": [
            "#96D98D",
            "#73BF69",
            "#19730E"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": null,
          "link": false,
          "mappingType": 1,
          "pattern": "Recovery",
          "thresholds": [
            "5",
            "26"
          ],
          "type": "string",
          "unit": "short"
        },
        {
          "alias": "",
          "align": "auto",
          "colorMode": "cell",
          "colors": [
            "#8AB8FF",
            "#5794F2",
            "#1250B0"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": null,
          "mappingType": 1,
          "pattern": "Confirm",
          "thresholds": [
            "50",
            "100"
          ],
          "type": "string",
          "unit": "short",
          "valueMaps": []
        },
        {
          "alias": "",
          "align": "auto",
          "colorMode": "cell",
          "colors": [
            "#FF7383",
            "#F2495C",
            "#AD0317"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "Deaths",
          "thresholds": [
            "5",
            "10"
          ],
          "type": "string",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "state"
              ],
              "type": "tag"
            }
          ],
          "measurement": "covid_india",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT sum(\"homedeltaconfirmed\") AS \"Confirm\", sum(\"homedeltarecovered\") AS \"Recovery\", sum(\"homedeltadeaths\") AS \"Deaths\" FROM \"covid_india\" WHERE (\"state\" != 'Daman and Diu') AND $timeFilter GROUP BY \"state\"",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "sdeltaconfirmed"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "Confirm"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "sdeltarecovered"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "Recovery"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "sdeltadeaths"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              },
              {
                "params": [
                  "Deaths"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "state",
              "operator": "!=",
              "value": "Daman and Diu"
            }
          ]
        }
      ],
      "timeFrom": "1d",
      "timeShift": null,
      "title": "Newly Reported [Click on State]",
      "transform": "table",
      "type": "table-old"
    },
    {
      "columns": [],
      "datasource": "InfluxDB",
      "description": "There is no district-wise segregation of patient's data in Delhi Govt's Daily bulletin",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSize": "100%",
      "gridPos": {
        "h": 25,
        "w": 8,
        "x": 16,
        "y": 6
      },
      "hideTimeOverride": true,
      "id": 24,
      "links": [],
      "pageSize": null,
      "scroll": true,
      "showHeader": true,
      "sort": {
        "col": 2,
        "desc": true
      },
      "styles": [
        {
          "alias": "Time",
          "align": "auto",
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "pattern": "Time",
          "type": "hidden"
        },
        {
          "alias": "State/UT",
          "align": "auto",
          "colorMode": null,
          "colors": [
            "rgba(245, 54, 54, 0.9)",
            "rgba(237, 129, 40, 0.89)",
            "rgba(50, 172, 45, 0.97)"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "link": true,
          "linkTargetBlank": true,
          "linkTooltip": "More Details",
          "linkUrl": "https://indiafightscovid19.online/d/Apmm6qjWk/states-data?orgId=1&var-state=${__cell}",
          "mappingType": 1,
          "pattern": "state",
          "thresholds": [],
          "type": "string",
          "unit": "short",
          "valueMaps": [
            {
              "text": "Andaman/Nicobar",
              "value": "Andaman_and_Nicobar_Islands"
            },
            {
              "text": "Dadra/Nagar_Haveli",
              "value": "Dadra_and_Nagar_Haveli"
            }
          ]
        },
        {
          "alias": "",
          "align": "auto",
          "colorMode": "cell",
          "colors": [
            "#8AB8FF",
            "#5794F2",
            "#1250B0"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "Actv",
          "thresholds": [
            "1800",
            "5000"
          ],
          "type": "string",
          "unit": "short"
        },
        {
          "alias": "",
          "align": "auto",
          "colorMode": "cell",
          "colors": [
            "#96D98D",
            "#73BF69",
            "#19730E"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "Rcvrd",
          "thresholds": [
            "5000",
            "20000"
          ],
          "type": "string",
          "unit": "short"
        },
        {
          "alias": "",
          "align": "auto",
          "colorMode": "cell",
          "colors": [
            "#FF7383",
            "#F2495C",
            "#AD0317"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "Deaths",
          "thresholds": [
            "500",
            "1000"
          ],
          "type": "string",
          "unit": "short"
        },
        {
          "alias": "",
          "align": "auto",
          "colorMode": "cell",
          "colors": [
            "#FFB357",
            "#FF9830",
            "#E55400"
          ],
          "dateFormat": "YYYY-MM-DD HH:mm:ss",
          "decimals": 2,
          "mappingType": 1,
          "pattern": "Cnfrm",
          "thresholds": [
            "4000",
            "60000"
          ],
          "type": "string",
          "unit": "short"
        }
      ],
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "state"
              ],
              "type": "tag"
            }
          ],
          "measurement": "covid_india",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"sconfirmed\") AS \"Cnfrm\",last(\"sactive\") AS \"Actv\", last(\"srecovered\") AS \"Rcvrd\", last(\"sdeaths\") AS \"Deaths\" FROM \"covid_india\" WHERE (\"state\" != 'Daman and Diu') AND $timeFilter GROUP BY \"state\"",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "sactive"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Actv"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "srecovered"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Rcvrd"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "sdeaths"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Deaths"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "sconfirmed"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "Cnfrm"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "state",
              "operator": "!=",
              "value": "Daman and Diu"
            }
          ]
        }
      ],
      "timeFrom": "1d",
      "timeShift": null,
      "title": "Total Cases [Click on State]",
      "transform": "table",
      "type": "table-old"
    },
    {
      "aliasColors": {
        "Confirmed": "super-light-orange"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "InfluxDB",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 0,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 10,
        "x": 0,
        "y": 14
      },
      "hiddenSeries": false,
      "id": 19,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 2,
      "links": [],
      "nullPointMode": "null",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$tag_state",
          "groupBy": [
            {
              "params": [
                "state"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "covid_india",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "sgactiveindicator"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              }
            ]
          ],
          "tags": []
        },
        {
          "alias": "$tag_detectedstate",
          "groupBy": [
            {
              "params": [
                "detectedstate"
              ],
              "type": "tag"
            }
          ],
          "hide": true,
          "measurement": "covid_india",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Confirmed"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "cumulative_sum"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": "70d",
      "timeRegions": [],
      "timeShift": null,
      "title": "Active Cases Trend Per State",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {
        "Active": "light-purple",
        "Confirmed": "semi-dark-blue",
        "Deaths": "semi-dark-red",
        "Recovered": "light-green"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "InfluxDB",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 0,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 6,
        "x": 10,
        "y": 21
      },
      "hiddenSeries": false,
      "hideTimeOverride": true,
      "id": 49,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 3,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 3,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "$col",
          "groupBy": [],
          "measurement": "covid_india",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT cumulative_sum(\"Confirmed\") AS \"Confirmed\" ,cumulative_sum(\"Recovered\") AS \"Recovered\", cumulative_sum(\"Deceased\") AS \"Deaths\" FROM \"covid_india\" WHERE $timeFilter",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "totalconfirmed"
                ],
                "type": "field"
              },
              {
                "params": [
                  "Confirmed"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "totalactive"
                ],
                "type": "field"
              },
              {
                "params": [
                  "Active"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "totalrecovered"
                ],
                "type": "field"
              },
              {
                "params": [
                  "Recovered"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "totaldeceased"
                ],
                "type": "field"
              },
              {
                "params": [
                  "Deaths"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": "90d",
      "timeRegions": [],
      "timeShift": null,
      "title": "Confirmed,  Recovered and Deaths [ Cumulative ]",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "covidstatic",
      "description": "Infection cause data is not available for most of the patients",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {},
          "mappings": [
            {
              "from": "",
              "id": 1,
              "operator": "",
              "text": "gg",
              "to": "",
              "type": 1,
              "value": "delhitravel"
            }
          ],
          "max": 5000,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 60
              },
              {
                "color": "red",
                "value": 200
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 10,
        "x": 0,
        "y": 24
      },
      "hideTimeOverride": true,
      "id": 36,
      "links": [],
      "options": {
        "displayMode": "gradient",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": false
      },
      "pluginVersion": "7.0.3",
      "targets": [
        {
          "alias": "$tag_infectionType",
          "groupBy": [
            {
              "params": [
                "infectionType"
              ],
              "type": "tag"
            }
          ],
          "measurement": "rawtata",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "totalinfections"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": "30d",
      "timeShift": null,
      "title": "Probable Infection Causes in Reported Cases",
      "type": "bargauge"
    },
    {
      "datasource": "covidstatic",
      "description": "Age data is not available for most of the patients",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {},
          "mappings": [
            {
              "from": "",
              "id": 1,
              "operator": "",
              "text": "gg",
              "to": "",
              "type": 1,
              "value": "delhitravel"
            }
          ],
          "max": 11000,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-yellow",
                "value": null
              },
              {
                "color": "semi-dark-orange",
                "value": 500
              },
              {
                "color": "red",
                "value": 2000
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 10,
        "w": 11,
        "x": 0,
        "y": 31
      },
      "hideTimeOverride": true,
      "id": 51,
      "links": [],
      "options": {
        "displayMode": "gradient",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": false
      },
      "pluginVersion": "7.0.3",
      "targets": [
        {
          "alias": "$tag_age_bracket",
          "groupBy": [
            {
              "params": [
                "age_bracket"
              ],
              "type": "tag"
            }
          ],
          "measurement": "rawtata",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "age_bracketcount"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": "30d",
      "timeShift": null,
      "title": "Infected Age Groups [Based on available data]",
      "type": "bargauge"
    },
    {
      "aliasColors": {
        "Female": "#B877D9",
        "Male": "#5794F2"
      },
      "breakPoint": "50%",
      "cacheTimeout": null,
      "combine": {
        "label": "Others",
        "threshold": 0
      },
      "datasource": "covidstatic",
      "description": "Gender data is not updated for most of the patients",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fontSize": "100%",
      "format": "short",
      "gridPos": {
        "h": 10,
        "w": 6,
        "x": 11,
        "y": 31
      },
      "hideTimeOverride": true,
      "id": 41,
      "interval": null,
      "legend": {
        "percentage": true,
        "percentageDecimals": 1,
        "show": true,
        "sort": "total",
        "sortDesc": false,
        "values": true
      },
      "legendType": "Under graph",
      "links": [],
      "maxDataPoints": 3,
      "nullPointMode": "connected",
      "pieType": "pie",
      "pluginVersion": "6.2.5",
      "strokeWidth": 1,
      "targets": [
        {
          "alias": "$tag_gender",
          "groupBy": [
            {
              "params": [
                "gender"
              ],
              "type": "tag"
            }
          ],
          "hide": false,
          "measurement": "rawtata",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "gendercount"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": "30d",
      "timeShift": null,
      "title": "Gender [Based on available data]",
      "type": "grafana-piechart-panel",
      "valueName": "total"
    },
    {
      "cacheTimeout": null,
      "content": "\n#### About us\n\n**We are a group of volunteers working on this portal intending to help community with near to real-time updates on Covid-19 in India.**\n\n**Our Team - [Gaurav Dutt Sharma](https://www.linkedin.com/in/gaurav-dutt-sharma-b8417365/), Dilip Kumar, Pushp Priya, [R. Uma](https://www.linkedin.com/in/uma-raj-b9428317b), Rajesh Kumar, [Shailendra Digarse](https://www.linkedin.com/in/shailendra-digarse-30332a197), T. Vaishnavi and [Vikky Omkar](https://www.linkedin.com/in/vikky-omkar-6552178b)**\n\nFollow us on [twitter](https://twitter.com/indiafightscov1) [telegram](https://t.me/fightbackcovid19) and [facebook](https://www.facebook.com/Indiafightscovid19online-107020570976370)\n\n\n#### Acknowledgement\n\n**Hotspots related data is collated by indiafightscovid19.online team, browsing through the respective district's local news, health department portals and their Twitter handles.**\n**In Addition, we would like to acknowledge that we are using patients' data published by covid19india.org. Heartfelt thanks to the covid19india.org's team for their efforts in this direction.** \n\n**Used  APIs :** [CROWDSOURCED](https://github.com/covid19india/api)\n\n*Write to us for feedbacks:* \n##### communityhelpcovid19@gmail.com\n\n\n\n\n",
      "datasource": "InfluxDB2",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "gridPos": {
        "h": 11,
        "w": 24,
        "x": 0,
        "y": 41
      },
      "id": 37,
      "links": [],
      "mode": "markdown",
      "pluginVersion": "6.2.5",
      "targets": [
        {
          "groupBy": [],
          "measurement": "stats",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "sitetraffic"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "sum"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "type": "text"
    }
  ],
  "refresh": false,
  "schemaVersion": 25,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-90d",
    "to": "now"
  },
  "timepicker": {
    "hidden": true,
    "refresh_intervals": [
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "Covid India",
  "uid": "sr20BBjZk",
  "version": 562,
  "description": "Dashboards for tracking COVID-19 spread in India in realtime."
}