Myenster:Graph:Population history/raavâ

Wikipedia:st

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
| atable=Original/St.Petersburg population annotations.tab}}
Show population of St.Petersburg from the table on Commons, with annotations

Inserts a graph with the population history for the given city.

Myenster parameettereh[Mute TemplateData]

Tämä malline suosii lohkomuotoilua parametreille.

ParameetterKuvvimTijppâTile
City Wikidata ID1

Wikidata ID of the city or region

Oletus
Q84
Merkkâráiđuvaljimiävtulâš
Title of the data page on Commonstable

Data page name on Commons, without the Data: prefix. The table must contain "year" and "population" columns.

Merkkâráiđuvaljimiävtulâš
Raw values for this graphvalues

Supply all values as a list of JSON objects: {"year":1980, "population":1000}, {"year":1984, "population":1045}, ...

Tubdâmettumvaljimiävtulâš
Title of the annotations data page on Commonsatable

Data page name on Commons, without the Data: prefix. The table must contain "year" column, and optional "text" and "color" columns.

Merkkâráiđuvaljimiävtulâš
Raw annotation valuesavalues

Supply all annotation values as a list of JSON objects: {"year":1980, "text":"Big event"}, ...

Tubdâmettumvaljimiävtulâš
Filter expressionfilter

Optionally, filter the data with an expression, e.g. datum.year >= 1900 && datum.year < 2000

Tubdâmettumvaljimiävtulâš
Graph colorcolor

Shade with which to highlight the data in the chart

Oletus
#00f
Ovdâmerkkâ
#f00
Merkkâráiđuvaljimiävtulâš
Interpolateinterpolate

How data points should be connected, e.g. linear, step-before, step-after, basis, basis-open, cardinal, cardinal-open, monotone

Oletus
monotone
Ovdâmerkkâ
linear
Merkkâráiđuvaljimiävtulâš
Graph scalescale

Scaling could be one of these: linear, log, pow, sqrt, quantile, quantize, and threshold

Oletus
linear
Ovdâmerkkâ
log
Merkkâráiđuvaljimiävtulâš
Maximum Y value axismax

This optional value might be useful to align multiple graphs side-by-side

Oletus
Automatically scaled to the data.
Ovdâmerkkâ
10000
Nummeervaljimiävtulâš
Widthwidth

Width for the chart in pixels, if different from the default.

Oletus
400
Nummeervaljimiävtulâš
Heightheight

Height for the chart in pixels, if different from the default.

Oletus
200
Nummeervaljimiävtulâš