Íomhá:Opinion polling for the 2021 Scottish Parliament election (constituency vote).svg

Taispeáin leagan ardtaifigh den íomhá(Comhad SVG, ainmniúil 844 × 559 picteilíni, méid comhaid: 178 KB)

Seo comhad as An Cómhaoin Viciméid. Tá an tuairisc as an leathanach tuairisc Cómhaoin a leanas thíos.
Is stór comhaid meáin Saor é an Cómhaoin Viciméid. Is féidir leat cabhrú.

Achoimriú

Tuairisc
English: Each dot represents one opinion poll result. Trendlines are local regressions (LOESS) with a span of 0.25
 
SNP
How to update this graph
  • Open the online Vega editor
  • Click on the dropdown menu in the top-left corner and select "Vega-Lite"
  • Copy the syntax in the box below, and paste it into the editing area.
Graph syntax
{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "description": "Opinion polling for the 2021 Scottish Parliament election",
  "width": 800,
  "height": 500,
  "data": {
    "values": [
      {
        "Date": "2021-04-04",
        "SNP": 53,
        "Conservative": 20,
        "Labour": 18,
        "Lib_Dems": 6,
        "Green": 2
      },
      {
        "Date": "2021-04-01",
        "SNP": 49,
        "Conservative": 22,
        "Labour": 20,
        "Lib_Dems": 6,
        "Green": 2
      },
      {
        "Date": "2021-03-30",
        "SNP": 49,
        "Conservative": 21,
        "Labour": 20,
        "Lib_Dems": 9,
        "Green": 1
      },
      {
        "Date": "2021-03-26",
        "SNP": 50,
        "Conservative": 21,
        "Labour": 17,
        "Lib_Dems": 5,
        "Green": 4
      },
      {
        "Date": "2021-03-19",
        "SNP": 48,
        "Conservative": 21,
        "Labour": 20,
        "Lib_Dems": 8,
        "Green": 1
      },
      {
        "Date": "2021-03-18",
        "SNP": 50,
        "Conservative": 21,
        "Labour": 20,
        "Lib_Dems": 8,
        "Green": 1
      },
      {
        "Date": "2021-03-16",
        "SNP": 46,
        "Conservative": 24,
        "Labour": 20,
        "Lib_Dems": 6,
        "Green": 4
      },
      {
        "Date": "2021-03-12",
        "SNP": 46,
        "Conservative": 21,
        "Labour": 23,
        "Lib_Dems": 8,
        "Green": 1
      },
      {
        "Date": "2021-03-10",
        "SNP": 48,
        "Conservative": 23,
        "Labour": 20,
        "Lib_Dems": 8,
        "Green": null
      },
      {
        "Date": "2021-03-08",
        "SNP": 52,
        "Conservative": 22,
        "Labour": 17,
        "Lib_Dems": 6,
        "Green": 2
      },
      {
        "Date": "2021-03-05",
        "SNP": 47,
        "Conservative": 23,
        "Labour": 20,
        "Lib_Dems": 7,
        "Green": 2
      },
      {
        "Date": "2021-02-25",
        "SNP": 50,
        "Conservative": 21,
        "Labour": 20,
        "Lib_Dems": 7,
        "Green": 3
      },
      {
        "Date": "2021-02-21",
        "SNP": 52,
        "Conservative": 23,
        "Labour": 15,
        "Lib_Dems": 5,
        "Green": 3
      },
      {
        "Date": "2021-02-09",
        "SNP": 54,
        "Conservative": 23,
        "Labour": 16,
        "Lib_Dems": 5,
        "Green": 2
      },
      {
        "Date": "2021-01-22",
        "SNP": 52,
        "Conservative": 20,
        "Labour": 17,
        "Lib_Dems": 6,
        "Green": 3
      },
      {
        "Date": "2021-01-13",
        "SNP": 51,
        "Conservative": 19,
        "Labour": 19,
        "Lib_Dems": 9,
        "Green": null
      },
      {
        "Date": "2021-01-13",
        "SNP": 53,
        "Conservative": 19,
        "Labour": 18,
        "Lib_Dems": 6,
        "Green": null
      },
      {
        "Date": "2020-12-15",
        "SNP": 55,
        "Conservative": 20,
        "Labour": 16,
        "Lib_Dems": 6,
        "Green": null
      },
      {
        "Date": "2020-12-09",
        "SNP": 53,
        "Conservative": 20,
        "Labour": 20,
        "Lib_Dems": 6,
        "Green": 1
      },
      {
        "Date": "2020-11-26",
        "SNP": 55,
        "Conservative": 22,
        "Labour": 14,
        "Lib_Dems": 6,
        "Green": 1
      },
      {
        "Date": "2020-11-11",
        "SNP": 53,
        "Conservative": 21,
        "Labour": 18,
        "Lib_Dems": 5,
        "Green": 3
      },
      {
        "Date": "2020-11-10",
        "SNP": 56,
        "Conservative": 19,
        "Labour": 15,
        "Lib_Dems": 6,
        "Green": 2
      },
      {
        "Date": "2020-11-03",
        "SNP": 54,
        "Conservative": 19,
        "Labour": 18,
        "Lib_Dems": 8,
        "Green": null
      },
      {
        "Date": "2020-10-09",
        "SNP": 58,
        "Conservative": 19,
        "Labour": 13,
        "Lib_Dems": 8,
        "Green": 1
      },
      {
        "Date": "2020-10-09",
        "SNP": 50,
        "Conservative": 23,
        "Labour": 18,
        "Lib_Dems": 6,
        "Green": null
      },
      {
        "Date": "2020-09-21",
        "SNP": 58,
        "Conservative": 19,
        "Labour": 13,
        "Lib_Dems": 8,
        "Green": 2
      },
      {
        "Date": "2020-09-07",
        "SNP": 53,
        "Conservative": 20,
        "Labour": 18,
        "Lib_Dems": 7,
        "Green": null
      },
      {
        "Date": "2020-08-13",
        "SNP": 51,
        "Conservative": 24,
        "Labour": 17,
        "Lib_Dems": 6,
        "Green": null
      },
      {
        "Date": "2020-08-10",
        "SNP": 57,
        "Conservative": 20,
        "Labour": 14,
        "Lib_Dems": 8,
        "Green": 1
      },
      {
        "Date": "2020-07-03",
        "SNP": 55,
        "Conservative": 20,
        "Labour": 15,
        "Lib_Dems": 6,
        "Green": 3
      },
      {
        "Date": "2020-06-05",
        "SNP": 53,
        "Conservative": 21,
        "Labour": 16,
        "Lib_Dems": 6,
        "Green": 3
      },
      {
        "Date": "2020-05-05",
        "SNP": 53,
        "Conservative": 23,
        "Labour": 15,
        "Lib_Dems": 5,
        "Green": 3
      },
      {
        "Date": "2020-04-27",
        "SNP": 54,
        "Conservative": 23,
        "Labour": 12,
        "Lib_Dems": 8,
        "Green": 2
      },
      {
        "Date": "2020-03-26",
        "SNP": 51,
        "Conservative": 26,
        "Labour": 14,
        "Lib_Dems": 6,
        "Green": 3
      },
      {
        "Date": "2020-01-31",
        "SNP": 50,
        "Conservative": 26,
        "Labour": 14,
        "Lib_Dems": 7,
        "Green": 3
      },
      {
        "Date": "2020-01-22",
        "SNP": 51,
        "Conservative": 23,
        "Labour": 17,
        "Lib_Dems": 7,
        "Green": null
      },
      {
        "Date": "2019-12-06",
        "SNP": 43,
        "Conservative": 26,
        "Labour": 19,
        "Lib_Dems": 8,
        "Green": 2
      },
      {
        "Date": "2019-12-03",
        "SNP": 46,
        "Conservative": 26,
        "Labour": 14,
        "Lib_Dems": 11,
        "Green": 1
      },
      {
        "Date": "2019-11-22",
        "SNP": 43,
        "Conservative": 26,
        "Labour": 17,
        "Lib_Dems": 9,
        "Green": 2
      },
      {
        "Date": "2019-10-11",
        "SNP": 42,
        "Conservative": 21,
        "Labour": 19,
        "Lib_Dems": 10,
        "Green": 3
      },
      {
        "Date": "2019-09-03",
        "SNP": 45,
        "Conservative": 23,
        "Labour": 13,
        "Lib_Dems": 12,
        "Green": 2
      },
      {
        "Date": "2019-06-20",
        "SNP": 42,
        "Conservative": 20,
        "Labour": 16,
        "Lib_Dems": 11,
        "Green": 3
      },
      {
        "Date": "2019-05-17",
        "SNP": 41,
        "Conservative": 20,
        "Labour": 18,
        "Lib_Dems": 8,
        "Green": 3
      },
      {
        "Date": "2019-04-26",
        "SNP": 46,
        "Conservative": 22,
        "Labour": 16,
        "Lib_Dems": 7,
        "Green": 3
      },
      {
        "Date": "2019-04-24",
        "SNP": 40,
        "Conservative": 22,
        "Labour": 20,
        "Lib_Dems": 6,
        "Green": 3
      },
      {
        "Date": "2019-03-06",
        "SNP": 41,
        "Conservative": 27,
        "Labour": 19,
        "Lib_Dems": 8,
        "Green": 3
      },
      {
        "Date": "2019-03-04",
        "SNP": 43,
        "Conservative": 24,
        "Labour": 22,
        "Lib_Dems": 9,
        "Green": null
      },
      {
        "Date": "2018-12-05",
        "SNP": 41,
        "Conservative": 25,
        "Labour": 23,
        "Lib_Dems": 6,
        "Green": 3
      },
      {
        "Date": "2018-11-07",
        "SNP": 39,
        "Conservative": 27,
        "Labour": 24,
        "Lib_Dems": 6,
        "Green": 3
      },
      {
        "Date": "2018-10-21",
        "SNP": 38,
        "Conservative": 26,
        "Labour": 25,
        "Lib_Dems": 9,
        "Green": 1
      },
      {
        "Date": "2018-10-05",
        "SNP": 44,
        "Conservative": 24,
        "Labour": 23,
        "Lib_Dems": 8,
        "Green": null
      },
      {
        "Date": "2018-10-04",
        "SNP": 41,
        "Conservative": 26,
        "Labour": 21,
        "Lib_Dems": 6,
        "Green": 3
      },
      {
        "Date": "2018-10-02",
        "SNP": 43,
        "Conservative": 24,
        "Labour": 23,
        "Lib_Dems": 9,
        "Green": null
      },
      {
        "Date": "2018-07-10",
        "SNP": 44,
        "Conservative": 24,
        "Labour": 21,
        "Lib_Dems": 9,
        "Green": null
      },
      {
        "Date": "2018-06-27",
        "SNP": 41,
        "Conservative": 27,
        "Labour": 22,
        "Lib_Dems": 6,
        "Green": 2
      },
      {
        "Date": "2018-06-13",
        "SNP": 40,
        "Conservative": 28,
        "Labour": 24,
        "Lib_Dems": 6,
        "Green": 2
      },
      {
        "Date": "2018-06-05",
        "SNP": 41,
        "Conservative": 27,
        "Labour": 22,
        "Lib_Dems": 6,
        "Green": 2
      },
      {
        "Date": "2018-03-28",
        "SNP": 40,
        "Conservative": 28,
        "Labour": 22,
        "Lib_Dems": 6,
        "Green": 3
      },
      {
        "Date": "2018-01-28",
        "SNP": 42,
        "Conservative": 25,
        "Labour": 25,
        "Lib_Dems": 6,
        "Green": null
      },
      {
        "Date": "2018-01-16",
        "SNP": 38,
        "Conservative": 26,
        "Labour": 23,
        "Lib_Dems": 7,
        "Green": 3
      },
      {
        "Date": "2017-12-20",
        "SNP": 39,
        "Conservative": 26,
        "Labour": 25,
        "Lib_Dems": 6,
        "Green": 2
      },
      {
        "Date": "2017-12-05",
        "SNP": 39,
        "Conservative": 24,
        "Labour": 28,
        "Lib_Dems": 7,
        "Green": null
      },
      {
        "Date": "2017-11-30",
        "SNP": 39,
        "Conservative": 24,
        "Labour": 25,
        "Lib_Dems": 8,
        "Green": null
      },
      {
        "Date": "2017-10-05",
        "SNP": 42,
        "Conservative": 25,
        "Labour": 25,
        "Lib_Dems": 5,
        "Green": 2
      },
      {
        "Date": "2017-09-12",
        "SNP": 42,
        "Conservative": 26,
        "Labour": 25,
        "Lib_Dems": 7,
        "Green": null
      },
      {
        "Date": "2017-09-07",
        "SNP": 42,
        "Conservative": 28,
        "Labour": 22,
        "Lib_Dems": 6,
        "Green": 2
      },
      {
        "Date": "2017-03-14",
        "SNP": 51,
        "Conservative": 24,
        "Labour": 14,
        "Lib_Dems": 6,
        "Green": 4
      },
      {
        "Date": "2016-11-29",
        "SNP": 48,
        "Conservative": 25,
        "Labour": 15,
        "Lib_Dems": 6,
        "Green": 3
      },
      {
        "Date": "2016-10-04",
        "SNP": 51,
        "Conservative": 21,
        "Labour": 18,
        "Lib_Dems": 7,
        "Green": null
      },
      {
        "Date": "2016-08-31",
        "SNP": 52,
        "Conservative": 21,
        "Labour": 16,
        "Lib_Dems": 5,
        "Green": 3
      },
      {
        "Date": "2016-06-28",
        "SNP": 50,
        "Conservative": 21,
        "Labour": 18,
        "Lib_Dems": 8,
        "Green": null
      },
      {
        "Date": "2016-05-05",
        "PreSNP": 46.5,
        "PreConservative": 22,
        "PreLabour": 22.6,
        "PreLib_Dems": 7.8,
        "PreGreen": 0.6
      }
    ]
  },
  "encoding": {
    "x": {
      "field": "Date",
      "type": "temporal",
      "scale": {"domain": ["2016-05-06", "2021-05-06"]},
      "axis": {
        "title": "Date",
        "tickCount": 24,
        "labelExpr": "[timeFormat(datum.value, '%b'), timeFormat(datum.value, '%m') == '01' ? timeFormat(datum.value, '%Y') : '']",
        "gridWidth": {
          "condition": {
            "test": {"field": "value", "timeUnit": "month", "equal": 1},
            "value": 1
          },
          "value": 0.5
        },
        "tickWidth": {
          "condition": {
            "test": {
              "and": [
                {"field": "Date", "timeUnit": "month", "equal": 1},
                {"field": "Date", "timeUnit": "month", "equal": 2}
              ]
            },
            "value": 1
          },
          "value": 0.5
        }
      }
    },
    "y": {
      "type": "quantitative",
      "scale": {"domain": ["0", "60"]},
      "axis": {"title": "%Support", "tickCount": 10}
    }
  },
  "layer": [
    {
      "mark": {
        "type": "point",
        "color": "#fdf38e",
        "fill": "#fdf38e",
        "size": 10
      },
      "encoding": {"y": {"field": "SNP", "title": "SNP"}}
    },
    {
      "mark": {
        "type": "point",
        "color": "#0087dc",
        "fill": "#0087dc",
        "size": 10
      },
      "encoding": {"y": {"field": "Conservative", "title": "Conservative"}}
    },
    {
      "mark": {
        "type": "point",
        "color": "#e4003b",
        "fill": "#e4003b",
        "size": 10
      },
      "encoding": {"y": {"field": "Labour", "title": "Labour"}}
    },
    {
      "mark": {
        "type": "point",
        "color": "#00b140",
        "fill": "#00b140",
        "size": 10
      },
      "encoding": {"y": {"field": "Green", "title": "Green"}}
    },
    {
      "mark": {
        "type": "point",
        "color": "#faa61a",
        "fill": "#faa61a",
        "size": 10
      },
      "encoding": {"y": {"field": "Lib_Dems", "title": "Liberal Democrats"}}
    },
    {
      "mark": {"type": "square", "fill": "#fdf38e", "size": 30, "opacity": 1},
      "encoding": {"y": {"field": "PreSNP", "title": "PreSNP"}}
    },
    {
      "mark": {"type": "square", "fill": "#0087dc", "size": 30, "opacity": 1},
      "encoding": {
        "y": {"field": "PreConservative", "title": "PreConservative"}
      }
    },
    {
      "mark": {"type": "square", "fill": "#e4003b", "size": 30, "opacity": 1},
      "encoding": {"y": {"field": "PreLabour", "title": "PreLabour"}}
    },
    {
      "mark": {"type": "square", "fill": "#00b140", "size": 30, "opacity": 1},
      "encoding": {"y": {"field": "PreGreen", "title": "PreGreen"}}
    },
    {
      "mark": {"type": "square", "fill": "#faa61a", "size": 30, "opacity": 1},
      "encoding": {
        "y": {"field": "PreLib_Dems", "title": "PreLiberal Democrats"}
      }
    },
    {
      "mark": {
        "type": "line",
        "color": "#fdf38e",
        "interpolate": "monotone",
        "size": 3
      },
      "transform": [{"loess": "SNP", "on": "Date", "bandwidth": 0.25}],
      "encoding": {"y": {"field": "SNP", "type": "quantitative"}}
    },
    {
      "mark": {
        "type": "line",
        "color": "#0087dc",
        "interpolate": "monotone",
        "size": 3
      },
      "transform": [{"loess": "Conservative", "on": "Date", "bandwidth": 0.25}],
      "encoding": {"y": {"field": "Conservative", "type": "quantitative"}}
    },
    {
      "mark": {
        "type": "line",
        "color": "#e4003b",
        "interpolate": "monotone",
        "size": 3
      },
      "transform": [{"loess": "Labour", "on": "Date", "bandwidth": 0.25}],
      "encoding": {"y": {"field": "Labour", "type": "quantitative"}}
    },
    {
      "mark": {
        "type": "line",
        "color": "#00b140",
        "interpolate": "monotone",
        "size": 3
      },
      "transform": [{"loess": "Green", "on": "Date", "bandwidth": 0.25}],
      "encoding": {"y": {"field": "Green", "type": "quantitative"}}
    },
    {
      "mark": {
        "type": "line",
        "color": "#faa61a",
        "interpolate": "monotone",
        "size": 3
      },
      "transform": [{"loess": "Lib_Dems", "on": "Date", "bandwidth": 0.25}],
      "encoding": {"y": {"field": "Lib_Dems", "type": "quantitative"}}
    }
  ],
  "config": {}
}
  • Scroll to the top of the editing area. There will be a list of values in this format:
      {
        "Date": "2021-02-09",
        "SNP": 54,
        "Conservative": 23,
        "Labour": 16,
        "Lib_Dems": 5,
        "Green": 2
      },
  • Copy the text, and paste it on a new line at the top of the list, below where it says "values": [
  • Replace the numbers with the results of the poll you wish to add, along with the date in YYYY-MM-DD format.
  • Make sure all closing curly braces have a comma after them, apart from the last one in the list (this tells the program where the list ends).
  • Check that the graph is showing up correctly on the right hand side of the screen, and that there are no warnings in the "logs" section.
  • Click the "export" button, and download the graph in SVG format
  • Before closing the Vega editor, copy the new syntax and update the file's description so that the next editor can use the newest version
  • Click the "upload a new version of this file" button
  • Upload the SVG using the form

If you can't see the new version after uploading, press Ctrl+F5 to bypass your browser's cache.

A graph showing regional voting intention can be found here.
Dáta
Foinse Obair féin
Údar PinkPanda272

Ceadúnú

Is mise sealbhóir cóipchirt an shaothair seo agus foilsím é faoin gceadúnas seo a leanas:
w:ga:Creative Commons
sannadh comhroinn araon
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
Is féidir:
  • an saothar seo a roinnt – an saothar seo a chóipeáil, a dháil amach, agus a tharchur
  • an saothar seo a athmheascadh – an saothar seo a oiriúnú
Ach amháin má leantar na coinníollacha seo a leanas:
  • sannadh – Ní mor creidiúint a thabhairt leis an saothar, faoi mar a shonraigh an údar nó tabharthóir an ceadúnais (ach ná húsáid modh a thugann le fios go thacaíonn sé/sí tú féin nó an úsáid a bhaineann tú as an saothar).
  • comhroinn araon – Má athraíonn tú nó síneann tú amach an saothar seo, ní féidir é a dháileadh ach amhaín faoin gceadúnas céanna nó ceann cosúil leis an gceann seo.

Captions

Add a one-line explanation of what this file represents
Graph of opinion polls for the constituency vote in the 2021 Scottish Parliament election

Items portrayed in this file

taispeánann sé/sí

2 Márta 2021

media type Béarla

image/svg+xml

Stair chomhaid

Cliceáil ar dáta/am chun an comhad a radharc mar a bhí sé ag an am sin.

(An ceann is déanaí | An ceann is luaithe) Taispeáin (10 níos nuaí | ) (10 | 20 | 50 | 100 | 250 | 500).
Dáta/AmMionsamhailToisíÚsáideoirNóta tráchta
faoi láthair16:49, 7 Aibreán 2021Mionsamhail do leagan ó 16:49, 7 Aibreán 2021844 × 559 (178 KB)PinkPanda272added poll
14:58, 4 Aibreán 2021Mionsamhail do leagan ó 14:58, 4 Aibreán 2021844 × 559 (176 KB)PinkPanda272added poll
14:24, 3 Aibreán 2021Mionsamhail do leagan ó 14:24, 3 Aibreán 2021844 × 559 (173 KB)PinkPanda272added poll
14:58, 30 Márta 2021Mionsamhail do leagan ó 14:58, 30 Márta 2021844 × 559 (171 KB)PinkPanda272added poll
14:16, 25 Márta 2021Mionsamhail do leagan ó 14:16, 25 Márta 2021844 × 559 (169 KB)PinkPanda272added poll
11:55, 22 Márta 2021Mionsamhail do leagan ó 11:55, 22 Márta 2021844 × 559 (166 KB)PinkPanda272added poll
17:43, 21 Márta 2021Mionsamhail do leagan ó 17:43, 21 Márta 2021844 × 559 (164 KB)PinkPanda272fix error
17:40, 21 Márta 2021Mionsamhail do leagan ó 17:40, 21 Márta 2021844 × 559 (163 KB)PinkPanda272added poll
15:16, 19 Márta 2021Mionsamhail do leagan ó 15:16, 19 Márta 2021844 × 559 (161 KB)PinkPanda272Changed moving average to LOESS
12:04, 18 Márta 2021Mionsamhail do leagan ó 12:04, 18 Márta 2021844 × 559 (165 KB)PinkPanda272Added poll
(An ceann is déanaí | An ceann is luaithe) Taispeáin (10 níos nuaí | ) (10 | 20 | 50 | 100 | 250 | 500).

Tá nasc chuig an gcomhad seo ar na leathanaigh seo a leanas:

Global file usage

The following other wikis use this file:

Meiteasonraí