User:Mathglot/horizontal bar chart demo
Appearance
Here are two demos intended to show the feasbility of horizontal bar charts on narrow-width devices like mobile phones. It works fine on the mobile gadget, or on actual mobile phones. (See the caveat about known bugs in the § Notes.)
Pageviews demo
[edit]- Pageviews of World War II for the 45 days ending on 2025-05-09
│
0
│
6870
│
13740
│
20610
│
27480
│
34350
│
41220
│
48090
│
54960
│
61830
│
68700
page views for World War II
Notes
[edit]- This is a working demo, but is implemented entirely by template, and may exceed PEIS or run into other problems depending when/where it is viewed. If you run into problems, reduce the 'days' param to reenable the demo. (Feel free to edit this page.)
- This was an experimental, temporary template only intended for use during the Charts extension outage, and has known bugs that were not addressed because of its temporary nature, notably (but not exclusively) these:
- The longest bar wraps; it does the same thing on desktop at certain screen widths; this is not a mobile issue.
- The scale at the bottom is somebody's off-the-shelf template pressed into service so I didn't have to write it. It garbles tick mark captions at mobile screen widths; this is something fixable that is unrelated to horizontal bar charts.
Article length demo
[edit]Country | Article length indicator (green: split not needed; yellow: maybe split; red: should split; dark red: split overdue) |
---|---|
Austria | |
Belgium | |
Bulgaria | |
Czech Republic | |
Denmark | |
Estonia | |
Finland | |
France | |
Germany | |
Greece | |
Hungary | |
Iceland | |
Italy | |
Kosovo | |
Latvia | |
Lithuania | |
North Macedonia | |
Norway | |
Poland | |
Portugal | |
Romania | |
Russia | |
Serbia | |
Slovakia | |
Sweden | |
Switzerland | |
United Kingdom |