Support this work
You can support this work by getting the e-books. This notebook will always be available for free in its online format.
from plotapi import PieFight import json PieFight.set_license("your username", "your license key")
In this notebook we're going to use Plotapi Pie Fight to visualise desktop browser market share over time. We"ll use Python, but Plotapi can be used from any programming language.
We're going to use data that has been published by multiple sources for different periods, as there is no single data source that covers everything. These are:
- 1994 - 1995: GVU WWW user survey
- 1996 - 1998: EWS Web Server at UIUC
- 1999 - 2001: WebSideStory
- 2002 - 2008: OneStat.com
- 2009-2021: StatCounter
The popup text that describes different events was taken from Wikipedia.
Browsers that did not have significant market share have been grouped and labelled as "Others".
with open("desktop_browsers.json", "r") as f: data = json.load(f) samples = data['samples'] nodes = data['nodes'] events = data['events']
PieFight(samples, nodes=nodes, events=events, rotate=30, interval=750, event_pause=False, event_duration=10000, format_current_order="0.2f", value_suffix="%", autohide_labels=False).show()