File:CO2 emission pie chart.svg

Summary
Summary Edit Size of this PNG preview of this SVG file: 540 × 540 pixels. Other resolutions: 240 × 240 pixels | 480 × 480 pixels | 600 × 600 pixels | 768 × 768 pixels | 1,024 × 1,024 pixels. Original file ‎(SVG file, nominally 540 × 540 pixels, file size: 54 KB) Open in Media ViewerConfiguration This is a file from the Wikimedia Commons. Information from its description page there is shown below. Commons is a freely licensed media file repository. You can help. Summary[edit] Description	English: Global CO2 gas emissions in the year 2015 by country. Date	8 June 2017 Source	Own work Author	Árni Dagur Permission (Reusing this file)	Public domain	This image of simple geometry is ineligible for copyright and therefore in the public domain, because it consists entirely of information that is common property and contains no original authorship. Heptagon SVG development	W3C icon.svg The source code of this SVG is valid. Created with Matplotlib-logo.svg This vector image was created with matplotlib. Python code

Very slight changes were made in a text editor. import matplotlib.pyplot as plt

print('Styles:', plt.style.available) plt.rcdefaults plt.style.use('ggplot') plt.rcParams['font.size'] = 19 plt.rcParams['patch.edgecolor'] = 'black' plt.rcParams['lines.linewidth'] = 1 plt.figure(figsize=[6,6])

labels = ['China', 'USA', 'EEA', 'India', 'Russia', 'Japan', 'Other'] sizes = [29.3641757, 14.27217116, 9.814753272, 6.774059821, 4.858885975, 3.457132848, 31.458821414] colours = ['#de2910', 'royalblue', '#0039e6', '#128807', 'gold', '#ffb6c1', 'lightgrey'] angle = 90 explode = (0, 0, 0, 0, 0, 0, 0)

^-- Change this to 0.1 for an explosion effect. patches, texts, autotexts = plt.pie(sizes, explode=explode, colors=colours, autopct='%1.1f%%', pctdistance=0.815, labels=labels, labeldistance=1.1, shadow=False, startangle=angle)

for at in autotexts:

at.set_fontsize(16.21) plt.axis('equal') plt.tight_layout plt.gca.set_position([0, 0, 1, 1]) plt.gcf.subplots_adjust(bottom=0.15)

plt.savefig('co2_emission_pie_chart.svg') https://en.wikipedia.org/wiki/File:CO2_emission_pie_chart.svg (Data source: Emission Database for Global Atmospheric Research)

Please feel free to change the colours and update this image.

Licensing[edit] I, the copyright holder of this work, hereby publish it under the following license: Creative Commons CC-Zero	This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Licensing Edit