![](/style/images/good.png)
![](/style/images/bad.png)
Desktop Browsers Market Share with Plotapi Pie Fight
source link: https://datacrayon.com/posts/plotapi/showcase/desktop-browser-market-share-pie-fight/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Get the Books
Enjoying these notebooks and want to support the work? Check out the practical books on Data Science, Visualisation, and Evolutionary Algorithms.
Get the books![covertops.jpg](https://datacrayon.com/images/datacrayon/shop/covertops.jpg)
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.
Plotapi - Pie Fight Diagram
Preamble¶
from plotapi import PieFight import json PieFight.set_license("your username", "your license key")
Introduction¶
In this notebook we're going to use Plotapi ieBar Fight to visualise desktop browser market share over time. We"ll use Python, but Plotapi can be used from any programming language.
Dataset¶
We're going to use data that has been published by StatCounter. The data is titled "Desktop Browser Market Share Worldwide" and it includes data from 2019 onwards.
Browsers that did not have significant market share have been grouped and labelled as "Others". The data can be found at this link.
with open("desktop_browsers.json", "r") as f: data = json.load(f) samples = data['samples'] nodes = data['nodes'] events = data['events']
Visualisation¶
Let's use Plotapi Pie Fight for this visualisation, you can see more examples in the Gallery.
PieFight(samples, nodes=nodes, format_current_order="0.2f", value_suffix="%", autohide_labels=False, autohide_thresh=4, interval=1000).show()
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.
Support this work
Get the practical book on data visualisation that shows you how to create static and interactive visualisations that are engaging and beautiful.
- Discounted Price that will grow as the book does,
- Code examples primarily in Python,
- Python Notebooks for each Section,
- Format: PDF download,
- Supplementary Video Tutorials,
- Unlimited access to updates.
Plotapi, beautiful by default.
Let plotapi do the heavy lifting – enabling beautiful interactive visualisations with a single line of code (instead of hundreds).
Get PlotapiRecommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK