Malline:Esimerkkikaaviot/Pie chart example

Description

muokkaa

Population graph of selected Wikidata item. Graph is modified version of mw:Extension:Graph/Demo/CategoryPie

Graph template

muokkaa

{{Esimerkkikaaviot/Pie chart example/graph}}

SELECT ?item ?itemLabel (?itemLabel as ?x) (?area as ?y) 
WHERE 
{
  ?item wdt:P31 wd:Q5107 .
  ?item wdt:P2046 ?area

  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Kokeile