File:US Trade Balance 1980 2011.svg
Tools
Actions
General
Print/export
In other projects
Appearance
From Wikimedia Commons, the free media repository
Size of this PNG preview of this SVG file: 675 × 405 pixels. Other resolutions: 320 × 192 pixels | 640 × 384 pixels | 1,024 × 614 pixels | 1,280 × 768 pixels | 2,560 × 1,536 pixels.
Original file (SVG file, nominally 675 × 405 pixels, file size: 55 KB)
File information
Structured data
Captions
Captions
Add a one-line explanation of what this file represents
This file has been superseded by US Trade Balance from 1960.svg. It is recommended to use the other file. Please note that deleting superseded images requires consensus.
|
Summary
[edit]| DescriptionUS Trade Balance 1980 2011.svg |
English: United States Balance of Trade, 1980–2011, based on March 2012 data. Data Source: US Census Bureau Foreign Trade Division: https://www.census.gov/foreign-trade/statistics/historical/gands.txt |
| Date | |
| Source | Own work based on: June 9, 2011. U.S. Trade in Goods and Services - Balance of Payments (BOP) Basis. Value in millions of dollars. 1960 thru 2010 (TXT). census.gov. US Census Bureau Foreign Trade Division. Archived from the original on 2011-12-27. Retrieved on 2025-12-15. |
| Author | Morn |
| SVG development InfoField |
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following license:
| Public domainPublic domainfalsefalse |
| I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |
Code
[edit]Made with Matplotlib:
#!/usr/bin/env python
from pylab import *
rc('xtick.major', pad=8)
#from https://www.census.gov/foreign-trade/statistics/historical/gands.txt:
d = (3.508, 4.195, 3.370, 4.210, 6.022, 4.664, 2.939, 2.604, 0.250, 0.091, 2.254, -1.302, -5.443, 1.900, -4.293, 12.404, -6.082, -27.246, -29.763, -24.565, -19.407, -16.172, -24.156, -57.767, -109.072, -121.880, -138.538, -151.684, -114.566, -93.141, -80.864, -31.135, -39.212, -70.311, -98.493, -96.384, -104.065, -108.273, -166.140, -263.160, -376.749, -361.771, -417.432, -490.984, -605.357, -708.624, -753.288, -696.728, -698.338, -381.272, -500.027, -559.956)
start, end = 1960, 2011
y = range(start, end+1)
f = figure(figsize=(7.5, 4.5))
ax = f.add_axes((.13, .18, .8, .75))
plot(y, d, 'r-', lw = 1.5)
plot(y, d, 'bo', ms = 5, mec = 'b')
grid(ls='-', alpha=.4)
xlabel('Year')
ylabel('Billions USD')
title('U.S. Trade Balance')
text(2010, -950, 'Data Source: US Census Bureau Foreign Trade Division', va = 'bottom', ha = 'right' , size = 10)
axis((1980, end, -800, 0))
savefig("US Trade Balance 1980 2011.svg")
show()
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 16:11, 18 March 2012 | 675 × 405 (55 KB) | Morn (talk | contribs) | {{Information |Description={{en|1=United States Balance of Trade, 1980–2011, based on March 2012 data. Data Source: US Census Bureau Foreign Trade Division: http://www.census.gov/foreign-trade/statistics/historical/gands.txt }} |Source={{own}} |Date=... |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.