File:Հնա.svg
Original file (SVG file, nominally 576 × 432 pixels, file size: 23 KB)
Captions
Summary
[edit]DescriptionՀնա.svg |
English: Armenia's GDP as a fraction of World's GDP |
Date | |
Source | https://data.worldbank.org/indicator/NY.GDP.MKTP.CD?locations=AM-1W&start=1990&view=chart |
Author | Սահակ |
code used to generate this chart
import pandas as pd
import matplotlib.ticker as mtick
import matplotlib.pyplot as plt
from pandas_datareader import wb
from datetime import date
data = wb.download(indicator='NY.GDP.MKTP.CD', country=['AM', '1W'], start=1990, end=date.today().year, errors='ignore')
ratio = data.loc['Armenia'] / data.loc['World']
ratio.index = pd.to_datetime(ratio.index)
# now get IMF data based on https://www.imf.org/en/Publications/WEO/weo-database/2023/October
# By Countries -> Middle East and Central Asia -> Armenia -> Gross domestic product, current prices U.S. DOLLARS -> prepare report
imf_data = pd.Series({
'2022-01-01': 19.514 / 100135.361,
'2023-01-01': 24.540 / 104476.432,
'2024-01-01': 26.935 / 109734.270,
'2025-01-01': 28.996 / 115598.839,
'2026-01-01': 31.081 / 121580.994,
'2027-01-01': 33.335 / 127499.667,
'2028-01-01': 35.752 / 133782.888
})
imf_data.index = pd.to_datetime(imf_data.index)
print(imf_data)
# now align with WB data
imf_data2 = imf_data * ratio.iloc[0, 0] / imf_data.iloc[0]
print(imf_data2)
print(ratio)
ax = ratio.dropna().plot(legend=0, grid=1, lw=2);
imf_data2.plot(style='--', color='C0', grid=1, lw=2);
ax.yaxis.set_major_formatter(mtick.PercentFormatter(1.0, decimals=2))
ax.set_ylim(bottom = 0, top=0.0003);
ax.set_yticks([0, 0.0001, 0.0002, 0.0003]);
ax.xaxis.set_label_text("")
plt.tight_layout()
plt.savefig('հնա.svg')
https://mybinder.org/v2/gl/petrosyan1%2Fsap/HEAD?labpath=gdp.ipynb
Licensing
[edit]- 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.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 03:48, 18 April 2024 | 576 × 432 (23 KB) | Սահակ (talk | contribs) | update data as of April 2024 | |
00:30, 14 October 2023 | 576 × 432 (22 KB) | Սահակ (talk | contribs) | update the data | ||
03:58, 20 July 2023 | 576 × 432 (24 KB) | Սահակ (talk | contribs) | |||
02:36, 20 April 2023 | 576 × 432 (24 KB) | Սահակ (talk | contribs) | update the data | ||
18:22, 11 October 2022 | 540 × 360 (23 KB) | Սահակ (talk | contribs) | update IMF data | ||
03:34, 3 October 2022 | 540 × 360 (24 KB) | Սահակ (talk | contribs) | minor clean up | ||
02:25, 3 October 2022 | 540 × 360 (24 KB) | Սահակ (talk | contribs) | add IMF forecasts from 2022 till 2027 | ||
00:54, 11 July 2022 | 540 × 360 (22 KB) | Սահակ (talk | contribs) | update the data | ||
14:16, 12 June 2022 | 540 × 360 (22 KB) | Սահակ (talk | contribs) | update the data | ||
03:09, 17 July 2020 | 540 × 360 (23 KB) | Սահակ (talk | contribs) | include 2019 |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on hy.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 460.8pt |
---|---|
Height | 345.6pt |