Myenster:Graph:Population history
![]() | Taat myenster kiävttá Lua-kieláin ohjelmistum mooduul: |
This graph's main version resides at mediawiki Template:Graph:Population_history. Please make all the changes there and copy it everywhere else (until the copying is automated)
{{Graph:Population history|Q84}} Show London's population history from Wikidata |
---|
{{Graph:Population history | table=Wikidata/St.Petersburg.tab |
Inserts a graph with the population history for the given city.
Parameetter | Kuvvim | Tijppâ | Tile | |
---|---|---|---|---|
City Wikidata ID | 1 | Wikidata ID of the city or region
| Merkkâráiđu | valjimiävtulâš |
Title of the data page on Commons | table | Data page name on Commons, without the Data: prefix. The table must contain "year" and "population" columns. | Merkkâráiđu | valjimiävtulâš |
Raw values for this graph | values | Supply all values as a list of JSON objects: {"year":1980, "population":1000}, {"year":1984, "population":1045}, ... | Tubdâmettum | valjimiävtulâš |
Title of the annotations data page on Commons | atable | Data page name on Commons, without the Data: prefix. The table must contain "year" column, and optional "text" and "color" columns. | Merkkâráiđu | valjimiävtulâš |
Raw annotation values | avalues | Supply all annotation values as a list of JSON objects: {"year":1980, "text":"Big event"}, ... | Tubdâmettum | valjimiävtulâš |
Filter expression | filter | Optionally, filter the data with an expression, e.g. datum.year >= 1900 && datum.year < 2000 | Tubdâmettum | valjimiävtulâš |
Graph color | color | Shade with which to highlight the data in the chart
| Merkkâráiđu | valjimiävtulâš |
Interpolate | interpolate | How data points should be connected, e.g. linear, step-before, step-after, basis, basis-open, cardinal, cardinal-open, monotone
| Merkkâráiđu | valjimiävtulâš |
Graph scale | scale | Scaling could be one of these: linear, log, pow, sqrt, quantile, quantize, and threshold
| Merkkâráiđu | valjimiävtulâš |
Maximum Y value axis | max | This optional value might be useful to align multiple graphs side-by-side
| Nummeer | valjimiävtulâš |
Width | width | Width for the chart in pixels, if different from the default.
| Nummeer | valjimiävtulâš |
Height | height | Height for the chart in pixels, if different from the default.
| Nummeer | valjimiävtulâš |