Jump to content

File:CO2 emission pie chart.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 900 × 900 pixels, file size: 6 KB)
    Render this image in .

    Summary

    Description
    Català: Emissions globals de gasos CO2 per país.
    English: Global CO2 gas emissions in theby country. EEA is the European Economic Area.
    • Data source for Version 10 (updated from old 2015 data, to use 2023 data):
    — GHG emissions of all world countries. Emissions Database for Global Atmospheric Research (EDGAR) (2024). Archived from the original on 15 March 2025. (select "CO2 total emissions" from dropdown list)
    — Link more directly to table https://edgar.jrc.ec.europa.eu/report_2024?vis=co2tot#emissions_table (click on "CO2 total emissions")
    • Version 10 (20 February 2025): Most SVG code for Version 10 was automatically generated by the "Pie charts" spreadsheet linked at User:RCraig09/Excel to XML for SVG. Additions and adjustments were made in a text editor. ES and CA translations were included.
    Translate this file This SVG file contains embedded text that can be translated into your language, using any capable SVG editor, text editor or the SVG Translate tool. For more information see: About translating SVG files.
    Date
    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
    Heptagon
    Other versions
    Other related versions:[edit]
    SVG development
    InfoField
     The SVG code is valid.
     This plot was created with Matplotlib.
    Source code
    InfoField

    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')
    
    Translate this file This SVG file contains embedded text that can be translated into your language, using any capable SVG editor, text editor or the SVG Translate tool. For more information see: About translating SVG files.
    This file is translated using SVG <switch> elements. All translations are stored in the same file! Learn more.

    For most Wikipedia projects, you can embed the file normally (without a lang parameter). The Wikipedia will use its language if the SVG file supports that language. For example, the German Wikipedia will use German if the SVG file has German. To embed this file in a particular language use the lang parameter with the appropriate language code, e.g. [[File:CO2 emission pie chart.svg|lang=en]] for the English version. Do not specify a lang parameter if it is not needed. The parameter may prevent the use of a subsequent translation.

    To translate the text into your language, you can use the SVG Translate tool. Alternatively, you can download the file to your computer, add your translations using whatever software you're familiar with, and re-upload it with the same name. You will find help in Graphics Lab if you're not sure how to do this.

    (Data source: Emission Database for Global Atmospheric Research)

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

    Licensing

    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 their 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.

    Captions

    Global CO2 gas emissions in the year 2023 by country
    depicts<\/a>"}},"text\/plain":{"en":{"":"depicts"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":273404,\"id\":\"Q273404\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P180":"pie chart<\/a>"}},"text\/plain":{"en":{"P180":"pie chart"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P180 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">
    creator<\/a>"}},"text\/plain":{"en":{"":"creator"}}},"{\"value\":{\"entity-type\":\"property\",\"numeric-id\":4174,\"id\":\"P4174\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"":"Wikimedia username<\/a>"}},"text\/plain":{"en":{"":"Wikimedia username"}}},"{\"value\":\"ArniDagur\",\"type\":\"string\"}":{"text\/html":{"en":{"P4174":"ArniDagur<\/a>"}},"text\/plain":{"en":{"P4174":"ArniDagur"}}},"{\"value\":{\"entity-type\":\"property\",\"numeric-id\":2699,\"id\":\"P2699\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"":"URL<\/a>"}},"text\/plain":{"en":{"":"URL"}}},"{\"value\":\"https:\\\/\\\/commons.wikimedia.org\\\/wiki\\\/user:ArniDagur\",\"type\":\"string\"}":{"text\/html":{"en":{"P2699":"https:\/\/commons.wikimedia.org\/wiki\/user:ArniDagur<\/a>"}},"text\/plain":{"en":{"P2699":"https:\/\/commons.wikimedia.org\/wiki\/user:ArniDagur"}}},"{\"value\":{\"entity-type\":\"property\",\"numeric-id\":2093,\"id\":\"P2093\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"":"author name string<\/a>"}},"text\/plain":{"en":{"":"author name string"}}},"{\"value\":\"\\u00c1rni Dagur\",\"type\":\"string\"}":{"text\/html":{"en":{"P2093":"\u00c1rni Dagur"}},"text\/plain":{"en":{"P2093":"\u00c1rni Dagur"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P170 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">
    copyright license<\/a>"}},"text\/plain":{"en":{"":"copyright license"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":6938433,\"id\":\"Q6938433\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P275":"Creative Commons CC0 License<\/a>"}},"text\/plain":{"en":{"P275":"Creative Commons CC0 License"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P275 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">
    inception<\/a>"}},"text\/plain":{"en":{"":"inception"}}},"{\"value\":{\"time\":\"+2017-06-08T00:00:00Z\",\"timezone\":0,\"before\":0,\"after\":0,\"precision\":11,\"calendarmodel\":\"http:\\\/\\\/www.wikidata.org\\\/entity\\\/Q1985727\"},\"type\":\"time\"}":{"text\/html":{"en":{"P571":"8 June 2017"}},"text\/plain":{"en":{"P571":"8 June 2017"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P571 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

    8 June 2017

    source of file<\/a>"}},"text\/plain":{"en":{"":"source of file"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":66458942,\"id\":\"Q66458942\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P7482":"original creation by uploader<\/a>"}},"text\/plain":{"en":{"P7482":"original creation by uploader"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P7482 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">
    media type<\/a>"}},"text\/plain":{"en":{"":"media type"}}},"{\"value\":\"image\\\/svg+xml\",\"type\":\"string\"}":{"text\/html":{"en":{"P1163":"image\/svg+xml"}},"text\/plain":{"en":{"P1163":"image\/svg+xml"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P1163 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

    image/svg+xml

    height<\/a>"}},"text\/plain":{"en":{"":"height"}}},"{\"value\":{\"amount\":\"+540\",\"unit\":\"http:\\\/\\\/www.wikidata.org\\\/entity\\\/Q355198\"},\"type\":\"quantity\"}":{"text\/html":{"en":{"P2048":"540 pixel<\/span>"}},"text\/plain":{"en":{"P2048":"540 pixel"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P2048 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

    540 pixel

    width<\/a>"}},"text\/plain":{"en":{"":"width"}}},"{\"value\":{\"amount\":\"+540\",\"unit\":\"http:\\\/\\\/www.wikidata.org\\\/entity\\\/Q355198\"},\"type\":\"quantity\"}":{"text\/html":{"en":{"P2049":"540 pixel<\/span>"}},"text\/plain":{"en":{"P2049":"540 pixel"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P2049 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

    540 pixel

    software used for creation<\/a>"}},"text\/plain":{"en":{"":"software used for creation"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":2985668,\"id\":\"Q2985668\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P13308":"Matplotlib<\/a>"}},"text\/plain":{"en":{"P13308":"Matplotlib"}}},"{\"value\":{\"entity-type\":\"property\",\"numeric-id\":3831,\"id\":\"P3831\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"":"object of statement has role<\/a>"}},"text\/plain":{"en":{"":"object of statement has role"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":132529059,\"id\":\"Q132529059\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P3831":"plotting library<\/a>"}},"text\/plain":{"en":{"P3831":"plotting library"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":506883,\"id\":\"Q506883\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P3831":"free and open-source software<\/a>"}},"text\/plain":{"en":{"P3831":"free and open-source software"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":29642950,\"id\":\"Q29642950\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P3831":"Python package<\/a>"}},"text\/plain":{"en":{"P3831":"Python package"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P13308 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">
    data size<\/a>"}},"text\/plain":{"en":{"":"data size"}}},"{\"value\":{\"amount\":\"+5676\",\"unit\":\"http:\\\/\\\/www.wikidata.org\\\/entity\\\/Q8799\"},\"type\":\"quantity\"}":{"text\/html":{"en":{"P3575":"5,676 byte<\/span>"}},"text\/plain":{"en":{"P3575":"5,676 byte"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P3575 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

    5,676 byte

    checksum<\/a>"}},"text\/plain":{"en":{"":"checksum"}}},"{\"value\":\"b83209a6ab52552c09aa59ed97a0430ce6b537bc\",\"type\":\"string\"}":{"text\/html":{"en":{"P4092":"b83209a6ab52552c09aa59ed97a0430ce6b537bc"}},"text\/plain":{"en":{"P4092":"b83209a6ab52552c09aa59ed97a0430ce6b537bc"}}},"{\"value\":{\"entity-type\":\"property\",\"numeric-id\":459,\"id\":\"P459\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"":"determination method or standard<\/a>"}},"text\/plain":{"en":{"":"determination method or standard"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":13414952,\"id\":\"Q13414952\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P459":"SHA-1<\/a>"}},"text\/plain":{"en":{"P459":"SHA-1"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P4092 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

    b83209a6ab52552c09aa59ed97a0430ce6b537bc

    File history

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

    (newest | oldest) View (newer 10 | ) (10 | 20 | 50 | 100 | 250 | 500)
    Date/TimeThumbnailDimensionsUserComment
    current08:13, 26 August 2025Thumbnail for version as of 08:13, 26 August 2025900 × 900 (6 KB)Momiji-PenguinFile uploaded using svgtranslate tool (https://svgtranslate.toolforge.org/). Added translation for ja.
    17:37, 19 March 2025Thumbnail for version as of 17:37, 19 March 2025900 × 900 (3 KB)RCraig09Version 11: Correcting typo for China: 24.0 ---> 24.0
    05:15, 19 February 2025Thumbnail for version as of 05:15, 19 February 2025900 × 900 (3 KB)RCraig09Version 10: Uploading chart updated through 2023. . . . different source. . . . Also, is leaner (only 3KB) . . . . I have manually retained the ES and CA translations using <switch> designations
    00:11, 31 January 2024Thumbnail for version as of 00:11, 31 January 2024540 × 540 (76 KB)ManlleusFile uploaded using svgtranslate tool (https://svgtranslate.toolforge.org/). Added translation for es.
    00:02, 31 January 2024Thumbnail for version as of 00:02, 31 January 2024540 × 540 (62 KB)ManlleusFile uploaded using svgtranslate tool (https://svgtranslate.toolforge.org/). Added translation for ca.
    23:59, 30 January 2024Thumbnail for version as of 23:59, 30 January 2024540 × 540 (37 KB)Manlleusfixed text labels for translation
    04:17, 8 June 2017Thumbnail for version as of 04:17, 8 June 2017540 × 540 (54 KB)Illegitimate BarristerCentering.
    04:15, 8 June 2017Thumbnail for version as of 04:15, 8 June 2017540 × 540 (36 KB)Illegitimate BarristerWP:NOTUSA
    01:34, 8 June 2017Thumbnail for version as of 01:34, 8 June 2017540 × 540 (30 KB)ArniDagurfixed wrong upload
    01:32, 8 June 2017Thumbnail for version as of 01:32, 8 June 2017540 × 540 (30 KB)ArniDagurlines made black and smaller, font size increased, general improvements
    (newest | oldest) View (newer 10 | ) (10 | 20 | 50 | 100 | 250 | 500)

    Global file usage

    The following other wikis use this file:

    Metadata