Jump to content

Talk:Warming stripes

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

"Stripe diagram" listed at Redirects for discussion

[edit]

An editor has asked for a discussion to address the redirect Stripe diagram. Please participate in the redirect discussion if you wish to do so. signed, Rosguill talk 18:13, 8 August 2019 (UTC)[reply]

[edit]
20181204 Warming stripes (global, WMO, 1850-2018) - Climate Lab Book (Ed Hawkins)

I've just learned that this image was chosen as a Featured picture. See:

RCraig09 (talk) 17:23, 19 January 2021 (UTC)[reply]

Microsoft Excel .xlsx files that automatically generate XML code for SVG graphs, including warming stripes

[edit]
Click at right to show/hide preliminary comments

I've written a Microsoft Excel .xlsx spreadsheet file that semi-automates generation of SVG files of warming stripes graphics, so you don't have to buy really expensive software. You simply paste a vertical list of temperatures or other data. The spreadsheet automatically generates a column of cells containing xml code, each cell representing one "stripe" per cell. Simply copy that column and paste it into a text editor (TextEdit for Mac, presumably Notepad for Windows), and save the text file as filename.svg". Notes:

  • SVG filesize for a 171-point dataset is only about 9 Kbytes (file is "from scratch"; not generated by Inkscape etc.)
  • I've pre-programmed the colors to be the ones that warming stripes originator Ed Hawkins has used: 8 blue and 8 red colors. You can change them manually, in a conversion/translation table on the right side of the spreadsheet.
  • For flexibility over time, I include a cell that allows you to designate how many degrees are covered by each color (normally 0.10°C to 0.15°C per color). Enter larger numbers for datasets that span larger temperature ranges, so that colors remain in range of the sixteen colors. Data that exceed the most extreme color are truncated by the conversion/translation table to the most extreme color.
  • Per Ed Hawkins' early works, the boundary temperature between blue and red is 0.0 in the data column, corresponding to the average temperature over the reference period. If you want a different blue-red boundary temperature, offset your dataset up or down accordingly.
  • I initially (3 Feb 2021, Version 1) set the aspect ratio to be very close to 16:9, specifically 855x480 pixels, with each of the 171 stripes being 5 pixels wide (855/171=5). In Version 2 (below), you specify width and height (in pixels) and number of data points (=number of stripes).
  • Included instructions for Version 1 are:
  1. Paste/Enter temperature anomaly data into "dT" column
  2. If needed, change " ° per colour" choice above (to keep stripes within colour ranges)
  3. Copy blue-shaded cells, paste into text file, and save as ".svg" file
  • You can click this v1 Dropbox link to download Version 1 of the .xlsx spreadsheet (though it's smarter to use Version 2.x, below).

Update:

General concept above; examples below.
Warming stripes
(five examples compared)
Warming stripes bar chart
Bar chart (vertical)
Pie chart
Line charts
Scatterplot

I've uploaded .xlsx (Microsoft Excel) spreadsheets that automatically generate XML code for charts in SVG format.

You simply paste or enter your data into the spreadsheet, and specify image dimensions, number of grid lines, font sizes, etc. The spreadsheet instantly and automatically generates a column of XML code that you simply copy and paste into a text editor and save as an ".svg" file. The spreadsheets produce lean SVG code, avoiding the "extra stuff" that Inkscape inserts. They should save you time in creating SVG charts.

Feedback and suggestions on my talk page are welcome. RCraig09 (talk) 23:41, 19 February 2021 (UTC)[reply]

Click HOW TO for detailed explanation.
Click HERE (else HERE) to download the spreadsheets.
  1. Warming stripes — Accepts a single dataset and converts to SVG code portraying Ed Hawkins' warming stripes graphics. User chooses vertical or horizontal stripes; normal or reverse data ordering; or from a variety of geometric shapes (updated 17 May 2023). . . . . Click here to see examples of warming stripes embedded in different shapes.
  2. Warming stripes bar chart — Accepts a single dataset and creates a conventional bar chart whose individual bars/columns are coloured according to Dr. Hawkins' warming stripes colour scheme. Alternate option: choose one colour for ascending bars and another colour for descending bars. (updated 28 August 2023)
  3. Line charts — Accepts up to six datasets. (updated 30 August 2023)
  4. Vertical bar charts (column charts) — Accepts up to six datasets. Toggle between clustered and stacked charts; user can adjust "Yfloor"—the Y level (usually=0) from which columns rise or fall; user chooses to keep or ignore negative input values. (updated 27 August 2023)
  5. Horizontal bar charts — Accepts up to six datasets. Toggle between clustered and stacked charts; user can adjust "Yfloor"—the value (usually=0) from which bars extend; user chooses to keep or ignore negative input values. (updated 27 August 2023)
  6. Scatter plots — Accepts up to five datasets. (updated 28 August 2023)
  7. Pie charts — Accepts a single dataset of up to 36 items. (updated 17 May 2023)
  8. Variable-width bar charts — Accepts up to six datasets; is like "Vertical bar charts", above, but user can choose different widths for different bars. (updated 27 August 2023)

Examples (warming stripes):

An Excel .xlsx spreadsheet automatically+ generated the XML code for the following SVG images:
  • The spreadsheet user can toggle a switch to reverse the order of data, so red is in the center (or left side of first graphic) and blue is at the outside (or right side of first graphic).
  • The spreadsheet user can choose height and width (in pixels), to compress or expand shape vertically and horizontally, for example, to change an ellipse to a circle or a rectangle to a square.
  • To download the spreadsheet, go to User:RCraig09/Excel to XML for SVG.
  • Don't try to edit inside this colored box; make any comments about the spreadsheets or graphics at User talk:RCraig09RCraig09 (talk) 20:43, 20 May 2021 (UTC)[reply]
That is cool! I had no idea that this was possible. Is it possible to automate updating your collection of instrumental data sets with this? (There is a new version out for HadCRUT, finally agreeing with all the other data sets by not ignoring the poles). FemkeMilene (talk) 08:41, 20 February 2021 (UTC)[reply]
(on design: black title and text is calmer). FemkeMilene (talk) 08:42, 20 February 2021 (UTC)[reply]
@Femkemilene:
  1. Oh, it's possible! But spreadsheets are clumsy tools for some tasks. I had to catenate text strings and calculated-numbers to create the XML elements.
  2. Re 5-trace graphs: people who understand a little XML can separately make five unique .SVG files, and then copy the main 'path' text from four svg files into the fifth svg file (using the fifth file's plot area and grid lines etc).
  3. To quickly generate 5-trace graphics within the spreadsheet, it would require almost about 22 columns to generate each trace. It would add a bit of complication for the user, also. Version 1.0 was meant for people who basically understand spreadsheets but don't know SVG or Inkscape etc. I plan to update the 5-trace GST graphic manually , in Inkscape, when all 2020 data is in.
  4. I used blue for experimentation... and forgot to change to all black characters! D'oh! I will change in future versions. —RCraig09 (talk) 22:52, 20 February 2021 (UTC)[reply]
@Femkemilene: I am now adding to the spreadsheet, to expand to more than one trace. (At first I was intimidated by the project. :-) ) —RCraig09 (talk) 04:48, 21 February 2021 (UTC)[reply]
Brilliant! I wish we could fully automate loads of those graphs and this is a step on the right direction :). FemkeMilene (talk) 08:07, 21 February 2021 (UTC)[reply]
@Femkemilene: Version 2.x is uploaded to Dropbox (link is above). Upgrading to five traces was more straightforward than I feared (though time-consuming!). Five actual temperature data series are included in the v2.x example. I haven't decided how to position five text legends for five traces, since different users will want them in different positions for different datasets. But this is a start.
Spreadsheets are relatively simple for non-techy people to use, but they aren't as flexible as Inkscape etc. Maybe User:Efbrazil can share how he semi-automated making his SVG files. —RCraig09 (talk) 23:07, 21 February 2021 (UTC)[reply]
@Femkemilene: I've updated the five-trace .svg graph (at right) with 2020 data and used the spreadsheet to generate the XML code. The only pre-processing needed in this case is to adjust some of the data sets to account for different base/reference periods. Spreadsheet Version 2.2 allows you to choose which 'quadrant' in which to put legends, to accommodate differently shaped graphs. —RCraig09 (talk) 07:54, 25 February 2021 (UTC)[reply]
[edit]

Hello! This is to let editors know that File:20181204 Warming_stripes_(global,_WMO,_1850-2018)_-_Climate_Lab_Book_(Ed_Hawkins).png, a featured picture used in this article, has been selected as the English Wikipedia's picture of the day (POTD) for November 3, 2023. A preview of the POTD is displayed below and can be edited at Template:POTD/2023-11-03. For the greater benefit of readers, any potential improvements or maintenance that could benefit the quality of this article should be done before its scheduled appearance on the Main Page. If you have any concerns, please place a message at Wikipedia talk:Picture of the day. Thank you!  — Amakuru (talk) 16:14, 27 October 2023 (UTC)[reply]

Warming stripes for annual mean global temperatures from 1850 to 2018

Warming stripes (sometimes referred to as climate stripes or climate timelines) are graphics that use a series of chronologically ordered coloured stripes to visualize trends in the temperature record of Earth. They employ a minimalist style, avoiding technical distractions by using colour alone to intuitively convey trends in global warming to non-scientists. The initial concept of visualizing historical temperature data has been extended to use animations, to visualize sea level rise and predictive climate data, and to visually juxtapose temperature trends with other data series, such as the concentration of carbon dioxide in Earth's atmosphere, global glacier retreat, precipitation, the contribution of aviation emissions to global warming, and biodiversity loss. These warming stripes were published by the British climatologist Ed Hawkins in 2018, using data from the World Meteorological Organization. The colours represent the annual mean global temperature for each year from 1850 (left) to 2018 (right) – the progression from blue (cooler) to red (warmer) stripes is indicative of global warming.

Graphic credit: Ed Hawkins

Recently featured:
Here is a link to an archive of Wikipedia's front page early on 3 November 2023: https://web.archive.org/web/20231103104846/http://en.wiki.x.io/wiki/Main_Page . —RCraig09 (talk) 06:01, 4 November 2023 (UTC)[reply]

Possibly feature on Wikimedia Commons

[edit]

Hello ! I would like to promote Warming Stripes as featured picture in Commons ! Could you come and vote for it ? Effco (talk) 15:33, 4 November 2023 (UTC)[reply]

 Done I don't know anything about the decision and implementation process, however. —RCraig09 (talk) 16:02, 4 November 2023 (UTC)[reply]
Update: The image has passed the nomination process at Wikimedia Commons and will be included in Commons' Featured Picture Gallery. I don't know if or when it will be featured on the Commons front page. —RCraig09 (talk) 18:33, 13 November 2023 (UTC)[reply]

Stripes are based on Ellie Highwood's crocheted blanket

[edit]
Primary source
https://elliehighwood.com/2017/06/12/climatechangecrochet-the-global-warming-blanket/
Secondary source
https://www.bbc.com/future/article/20231206-the-coloured-stripes-that-explain-climate-change

Uwappa (talk) 09:39, 11 December 2023 (UTC)[reply]

Thanks User:Uwappa, I also noticed the BBC article in the morning news. I've incorporated its summary teachings into this article, to introduce the numerous existing examples in the /* Applications and influence */ section. You may be aware, primary sources have limited acceptability on Wikipedia, and Ellie Highwood's contribution is already described in the /* Background, publication and content */ section; this is why I haven't added her blog post to the references. —RCraig09 (talk) 23:14, 11 December 2023 (UTC)[reply]