Ushbu grafikning asosiy versiyasi mediawiki Template:Graph:Population_historyda joylashgan. Iltimos, u yerda barcha oʻzgarishlarni kiriting va uni hamma joyda nusxalang (nusxa olish avtomatlashtirilgunga qadar)

{{Graph:Population history|Q84}}
Wikidatadan London aholisi tarixini koʻrsatadi
{{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.

Andoza parametrlari

This template prefers block formatting of parameters.

ParametrTavsifTuriStatus
City Wikidata ID1

Wikidata ID of the city or region

Sukut boʻyicha
Q84
Stringixtiyoriy
Title of the data page on Commonstable

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

Stringixtiyoriy
Raw values for this graphvalues

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

Nomaʼlumixtiyoriy
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.

Stringixtiyoriy
Raw annotation valuesavalues

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

Nomaʼlumixtiyoriy
Graph colorcolor

Shade with which to highlight the data in the chart

Sukut boʻyicha
#00f
Namuna
#f00
Stringixtiyoriy
Graph scalescale

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

Sukut boʻyicha
linear
Namuna
log
Stringixtiyoriy
Maximum Y value axismax

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

Sukut boʻyicha
Automatically scaled to the data.
Namuna
10000
Sonixtiyoriy
Widthwidth

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

Sukut boʻyicha
400
Sonixtiyoriy
Heightheight

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

Sukut boʻyicha
200
Sonixtiyoriy

Yana qarang

tahrir