close
Jump to content

File:Web browser usage share StatCounter.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia
    Original file (SVG file, nominally 1,536 × 960 pixels, file size: 79 KB)

    Summary

    Description
    English: Development of web browser usage share according to StatCounter data. Only browsers with a share of 2% or higher in November 2026 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 = (16, 10))
    
    d = {}
    
    # read CSV data:
    with open('browser-ww-monthly-200901-202611.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 = (.8, .4))
    gca().xaxis.get_major_formatter().set_useOffset(False)
    gca().xaxis.set_major_locator(MultipleLocator(1))
    tick_params(labelright = True)
    xlim(2009, 2027)
    ylim(0, 80)
    gca().tick_params(axis = "both", pad = 12)
    text(t[-1], -8, "Source: StatCounter", ha = "right", size = 14)
    tight_layout()
    savefig("Web_browser_usage_share_StatCounter.svg")
    show()
    

    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

    72,831 byte

    4be9f15d2f59dd42b28b20e2ccfbc29aeddb7803

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current16:11, 18 November 2026Thumbnail for version as of 16:11, 18 November 20261,536 × 960 (79 KB)Mornupdated for 2026
    17:23, 13 November 2025Thumbnail for version as of 17:23, 13 November 20251,344 × 960 (71 KB)Mornupdated for 2025
    11:34, 10 December 2024Thumbnail for version as of 11:34, 10 December 20241,344 × 960 (66 KB)Mornupdated for 2024
    22: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

    Global file usage

    The following other wikis use this file:

    Metadata