Demo:Sparkline
From semantic-mediawiki.org
![](/w/thumb.php?f=Question_mark.png&width=32)
Please consider adopting examples to fit your environment since simple duplication may not create appropriate results.
Data presented on this page are for educational and demonstration purpose only.
Bar chart[edit]
- Syntax
{{#ask: [[Country::Japan]] [[Has seismic activity::+]] |?Has seismic activity |format=sparkline |link=all |intro=[ |outro=] |headers=show |charttype=bar |class=demo-center }}
- Result
[
Loading...
]
Line chart using Distribution and threshold[edit]
- Syntax
{{#ask: [[Has format name::+]] |?Has format name |format=sparkline |limit=250 |link=all |headers=show |distribution=1 |distributionsort=none |min=2 |charttype=line }}
- Result
Loading...