User:Mathglot/horizontal bar chart demo

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-07-07

The pageviews file Talk:World War II/pageviews is more than 30 days old; please see Instructions.


Notes

edit
  • This pageviews demo 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.)
  • {{Xviews}} is an experimental, temporary template only intended for use during the Graphs extension outage (more). Xviews 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
Article lengths (live)
Country Article length indicator
(green: split not needed; yellow: maybe split; red: should split; dark red: split overdue)
Austria 182k
Belgium 215k
Bulgaria 273k
Czech Republic 188k
Denmark 235k
Estonia 226k
Finland 255k
France 272k
Germany 208k
Greece 295k
Hungary 205k
Iceland 231k
Italy 301k
Kosovo 251k
Latvia 201k
Lithuania 299k
North Macedonia 191k
Norway 234k
Poland 306k
Portugal 267k
Romania 221k
Russia 396k
Serbia 317k
Slovakia 220k
Sweden 244k
Switzerland 244k
United Kingdom 379k

Add your demo here

edit

Do you have a horizontal bar chart you would like to add? Feel free to add your own demo here. If you are not sure how to create them, you can create a request at User talk:Mathglot, and I will try to help.