Talk:SVG

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

A Commons file used on this page or its Wikidata item has been nominated for deletion[edit]

The following Wikimedia Commons file used on this page or its Wikidata item has been nominated for deletion:

Participate in the deletion discussion at the nomination page. —Community Tech bot (talk) 20:27, 4 January 2021 (UTC)[reply]

Hear ye! Excel .xlsx spreadsheets that automatically generate XML code for .SVG charts/graphs[edit]

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)

Latest browser support of SVG[edit]

Found this CanIuse.com page:

--Timeshifter (talk) 02:24, 1 January 2022 (UTC)[reply]

Inline SVG and Applications[edit]

I wish to add (or get someone else to add) a section on inline SVG, and its usage for application interfaces, so I'm just testing the water to see if anyone objects. This usage differs from "SVG files" in two main ways: firstly, inline SVG (i.e. embedded in an HTML document) allows HTML elements and SVG elements to be combined to produce a richer UI, sharing CSS and event handling (e.g. see SVG-FTG), and secondly the security risks associated with "SVG files" (i.e. being accidentally treated as image files when they're really document files) is not applicable to inline SVG because you're already using a document.TonyP (talk) 19:50, 22 January 2022 (UTC)[reply]

Inline SVG is explicitly permitted by the HTML5 standard, but since the <svg>...</svg> tags are not whitelisted by the MediaWiki software, we can't do this on Wikipedia. --Redrose64 🌹 (talk) 20:40, 22 January 2022 (UTC)[reply]
I'm not sure I follow that logic. That usage of SVG, and its contrast with "SVG files" (a ubiquitous view that is still holding back the technology), can be described without having to include an explicit tag. Examples can be cited rather than included if necessary. I'm not being argumentative; I just don't get your point.TonyP (talk) 11:36, 23 January 2022 (UTC)[reply]

Requested move 18 November 2022[edit]

The following is a closed discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review after discussing it on the closer's talk page. No further edits should be made to this discussion.

The result of the move request was: Page moved. (closed by non-admin page mover) Judekkan (talk) 13:54, 25 November 2022 (UTC)[reply]


Scalable Vector GraphicsSVG – Per MOS:ACROTITLE, SVG is the most WP:COMMONNAME for the subject and not commonly associated with a different subject. PhotographyEdits (talk) 12:55, 18 November 2022 (UTC)[reply]

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.