Pen-Link - Federal Contract Amounts (1995-2014)

https://www.fpds.gov/ezsearch/fpdsportal?indexName=awardfull&templateName=1.4.4&s=FPDS&q=VENDOR_FULL_NAME%3A%22PEN-LINK%2C+LTD.%22&x=32&y=15

by gregoryfoster

HTML

<script type="text/javascript" src="https://www.google.com/jsapi?autoload={'modules':[{'name':'visualization','version':'1','packages':['corechart']}]}"></script>
<div id="chart_div" style="width: 1200px; height: 800px;"></div>

JavaScript

google.setOnLoadCallback(drawChart);

function drawChart() {
  var org = [ 
    { name: 'Bureau of Alcohol, Tobacco, Firearms and Explosives (ATF)', total: {} },
    { name: 'Bureau of Land Management (BLM)', total: {} },
    { name: 'Customs and Border Protection (CBP)', total: {} },
    { name: 'Department of Homeland Security (DHS) - Office of the Inspector General (OIG)', total: {} },
    { name: 'Department of Justice (DOJ) - Offices, Boards and Divisions (OBD)', total: {} },
    { name: 'Department of State', total: {} },
    { name: 'Department of the Army', total: {} },
    { name: 'Department of the Navy', total: {} },
    { name: 'Department of the Treasury - Bureau of the Fiscal Service', total: {} },
    { name: 'Drug Enforcement Administration (DEA)', total: {} },
    { name: 'Federal Bureau of Investigation (FBI)', total: {} },
    { name: 'Federal Law Enforcement Training Center (FLETC)', total: {} },
    { name: 'Food and Drug Administration (FDA)', total: {} },
    { name: 'Immigration and Customs Enforcement (ICE)', total: {} },
    { name: 'Internal Revenue Service (IRS)', total: {} },
    { name: 'Securities and Exchange Commission (SEC)', total: {} },
    { name: 'U.S. Coast Guard', total: {} },
    { name: 'U.S. Marshals Service (USMS)', total: {} },
    { name: 'U.S. Secret Service', total: {} }
  ];

  var years = [ '1995', '2003', '2004', '2005', '2006', '2007', '2008', '2009', '2010', '2011','2012', '2013', '2014' ];

  for( var org_index = 0; org_index < org.length; org_index++ ){
    for( var year_index = 0; year_index < years.length; year_index++ ){
      org[org_index].total[years[year_index]] = 0;
    }
  }
  
  var raw_events = [
    [ 0, '2003-09-15', 211075 ],
    [ 0, '2004-10-01', 243000 ],
    [ 0, '2005-07-06', 4000 ],
    [ 0, '2006-03-09', 0 ],
    [ 0, '2009-04-15', 0 ],
    [ 0, '2009-04-22', 147100 ],
    [ 0, '2009-05-11', 0 ],
    [ 0, '2009-07-10', 11025 ],
    [ 0, '2010-03-30', 238770 ],
    [ 0, '2010-06-15', 0 ],
...