File:Web browser usage share StatCounter.svg

Original file (SVG file, nominally 1,260 × 900 pixels, file size: 66 KB)

Summary

Description
English: Development of web browser usage share according to StatCounter data. Only browsers with a share of 2% or higher in December 2023 or ones with a share of more than 10% in the past are plotted. This file was derived from: Web browser usage share, May 2017.svg
Date
Source Own work
Author Geek3
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 https://gs.statcounter.com/

import csv
from pylab import *

matplotlib.rcParams.update({'font.size': 16})
figure(figsize = (14, 10))

d = {}

# read CSV data:
with open('browser-ww-monthly-200901-202312.csv') as csvfile:
    for r in csv.reader(csvfile):
        if r[0] == 'Date':
            h = r
            for x in range(len(r)):
                d[r[x] ] = []
        else:
            for x in range(len(r)):
                if h[x] == 'Date':
                    d[h[x] ].append(r[x])
                else:
                    d[h[x] ].append(float(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 or max(d[k[0] ]) >= 10:
        if k[0] == "IE":
            plot(t, d[k[0]], label = "Internet Explorer", lw = 3)
        elif k[0] == "Edge":    # add the new and old Edge versions together:
            d2 = [p + q for p, q in zip(d["Edge"], d["Edge Legacy"])]
            plot(t, d2, label = "Edge", lw = 3)
        else:
            plot(t, d[k[0]], label = k[0], lw = 3)
xlabel('Year')
ylabel('%')
title('Usage share of major web browsers')
grid(True, ls = 'solid')
legend(loc = (.7, .4))
gca().xaxis.get_major_formatter().set_useOffset(False)
gca().xaxis.set_major_locator(MultipleLocator(1))
tick_params(labelright = True)
xlim(2009, 2024)
ylim(0, 70)
gca().tick_params(axis = "both", pad = 12)
text(t[-1], -8, "Source: StatCounter", ha = "right", size = 14)

savefig("Web_browser_usage_share_StatCounter.svg")
show()


This file may be updated to reflect new information.
If you wish to use a specific version of the file without it being overwritten, please upload the required version as a separate file.

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
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.
Any autoconfirmed user can overwrite this file from the same source. Please ensure that overwrites comply with the guideline.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

4 September 2019

image/svg+xml

File history

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

Date/TimeThumbnailDimensionsUserComment
current22:24, 12 December 2023Thumbnail for version as of 22:24, 12 December 20231,260 × 900 (66 KB)Mornsimplify the label for Edge again
18:59, 12 December 2023Thumbnail for version as of 18:59, 12 December 20231,260 × 900 (68 KB)Mornadd numbers from old and new Edge versions together
12:03, 12 December 2023Thumbnail for version as of 12:03, 12 December 20231,260 × 900 (65 KB)Mornupdated
18:45, 4 September 2019Thumbnail for version as of 18:45, 4 September 2019720 × 720 (69 KB)Geek3ie
18:23, 4 September 2019Thumbnail for version as of 18:23, 4 September 2019720 × 720 (68 KB)Geek3more ticks
18:11, 4 September 2019Thumbnail for version as of 18:11, 4 September 2019720 × 720 (64 KB)Geek3User created page with UploadWizard

The following page uses this file:

Global file usage

The following other wikis use this file:

Metadata