File:Web browser usage share, May 2017.svg

Original file(SVG file, nominally 720 × 720 pixels, file size: 69 KB)

Summary

Description
English: Development of web browser usage share according to StatCounter data. Only browsers with a share of 2% or higher in May 2017 are plotted.
Date
Source Own work
Author Morn
Other versions
File:Usage share of web browsers (Source StatCounter).svg
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

Source code
# Plot CSV file from http://gs.statcounter.com/

import csv
from pylab import *

figure(figsize = (8, 8))

d = {}

# read CSV data:
with open('browser-ww-monthly-200901-201705.csv', newline='') as csvfile:
	for r in csv.reader(csvfile):
		if r[0] == 'Date':
			h = r
			for x in range(len(r)):
				d[][x] = []
		else:
			for x in range(len(r)):
				d[][x].append(r[x])

t = []

# calculate dates:
for x in d['Date']:
	y, m = x.split('-')
	t.append(float(y) + (float(m)-1)/12)

# sort keys by latest values:
v = []
for k in d.keys():
	if k != 'Date':
		v.append((k, float(d[k][-1])))
v = sorted(v, key = lambda a: a[1])[::-1]
print(v)

# plot data:
for k in v:
	if k[1] >= 2:
		plot(t, d[][0], label = k[0], lw = 2)
xlabel('Year')
ylabel('%')
title('Usage share of major (>2% in May 2017) web browsers')
grid(True, ls = 'solid')
legend(loc = (.4, .65))
gca().xaxis.get_major_formatter().set_useOffset(False)
tick_params(labelright=True)
xlim(t[0], t[-1])
ylim(0, 70)
text(2015.3, -5, "Source: StatCounter")

savefig("browser_share.svg")
show()
This file has been superseded by Web browser usage share StatCounter.svg. It is recommended to use the other file. Please note that deleting superseded images requires consent.
new file

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

28 June 2017

image/svg+xml

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current14:46, 28 June 2017Thumbnail for version as of 14:46, 28 June 2017720 × 720 (69 KB)Morn== {{int:filedesc}} == {{Information |Description ={{en|1=Development of web browser usage share according to StatCounter data. Only browsers with a share of 2% or higher in May 2017 are plotted.}} |Source ={{own}} |Author =[[User:Mo...
No pages on the English Wikipedia use this file (pages on other projects are not listed).

Global file usage

The following other wikis use this file:

Metadata