WiViVi

From Meta, a Wikimedia project coordination wiki

WiViVi stands for Wikipedia Views Visualized. The visualization shows the geographic distribution of one month of pageviews to any or all Wikipedias, from two perpectives (modes), and several levels of aggregation.

Introduction

Welcome panel

Welcome panel for WiViVi viz. for documentation

Two modes

There are two modes with different perpective:

  1. Mode ' Wikipedia pageviews, share to language ... ' focuses on relative traffic density from countries to one particular language version
  2. Mode ' Pageviews per capita to any Wikipedia in month ... ' focuses on relative traffic density from countries to any Wikipedia

Switch between both modes with top-left button:


In each mode much more detail can be requested for a specific region, country or language, via button Breakdown ... or mouse-over panels.

Adaptive user interface

On small screens/windows the visualization degrades gracefully, showing icons instead of texts (see below), and shorter titles.
For very small screens/windows certain features are not available.

Mode 'Wikipedia pageviews, share to language ...'

mode 'Wikipedia pageviews, share to language ...' (here Arabic)
this screen shows which percentage of pageviews from any country is for Arabic Wikipedia

same as above, as shown on small screen, plus infobox for South Africa
same as above, but on a very small screen, plus infobox for South Africa

See more details for one country

How? Hover over a country with the mouse -> a panel shows details for that country

on-hover panel for country South Africa
on-hover panel for country South Africa
number of rows shown depends on available screen space

   

same on very small screen - notice how metrics are now shown as icons
same with icons
(on a very small screen or by user request)

stands for population
for connected to internet

See more details for the selected language

How? Click button 'Breakdown by country for ... Wikipedia'

Note: this button (and the panel) are not available on very small screens

example panel for WMF visualization WiViVi, details on which share of traffic for English language comes from which country
details on which share of traffic for English language comes from which country
number of rows shown depends on available screen space

N stands for Global North, S for Global South
B stands for billions, M for millions, K for thousands

Mode 'Pageviews per capita to any Wikipedia in month ...'

mode 'Pageviews per capita to any Wikipedia'

See more details for one country or region

How? Hover over a country or region with the mouse -> a panel shows details for that country or region

For countries this works exactly like in the other mode, see above.
For regions, hover over a red circle, there is one in each continent.
If no red circles are shown press button button to toggle region markers on or off

example for WiViVI documentation
circles as region markers, mouse hovers over circle in Australia

See many more details for any region

How? Select a region, then click button 'Breakdown by country for region ...'

   ⇒

Note: this button (and the panel) are not available on very small screens

breakdown by country of region Global South
breakdown by country of pageviews, to any Wikipedia, from region Global South
number of rows shown depends on available screen space

Texts or icons

Depending on screen size and (on large screens) user preference metrics are shown as texts or icons

  ⇒

   

  ⇒

info panel for a regions, using texts
on-hover panel for region Oceania, showing metrics as texts

   

info panel for a regions, using icons
same but metrics are shown as icons

stands for population
for connected to internet
for views
for world-wide
for person
for speakers of a language
       (primary + secondary (if known))

Credits

Many thanks to Mark DiMarco for DataMaps Also to Our world in Data team for inspiration.

See also static versions: Overview and breakdowns of pageviews by Country and by Language

Built for Wikimedia Foundation. License CC-BY-SA

Pageview data supplied by WMF Analytics Team

Author Erik Zachte

Data sources

  • Pageview data are supplied by WMF Analytics Team (public url ?)
  • Flags are taken from English Wikipedia, list Countries by population or from infobox on article about a country, e.g. Kenya.
  • Until July 2018 demographics were 'scraped' from English Wikipedia articles:
  • From July 2018 onwards demographics are taken from a custom built json file world-bank-demographics.json which is generated from World Bank API data files. This json files now contains 4 metrics: population count, percentage internet users, percentage mobile subscriptions, GDP per capita. Input files have different formats (some csv, some json) and different indexing (some use ISO 3166-1 alpha-2 codes, others ..-alpha-3). After normalization, data are aggregated, filtered, indexed.

Notes

  • Icon    leads to this page.
  • Both modes show pageviews for one month. As 'Pageviews per capita' is about absolute numbers the time period (month) is explicitly named in the title. For 'Wikipedia pageviews, share to language xxx' time period is less significant, and hence not part of the title.
  • See also implementation notes (work in progress)
  • Sources at GitHub
  • Data files (csv, json) are in same location as scripts, read more at data.html, data for historic months are also kept in sub-folders, e.g. data for 2017-05/. From July 2018 onwards there is a json equivalent of the three rather complex csv files which WiViVi uses, for easier reuse in other contexts.

External links