D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
linniart
Full window
Github gist
Bubble Chart with Dropdown
Built with
blockbuilder.org
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <script type="text/javascript" src="//d3js.org/d3.v4.min.js"></script> </head> <h1>Bubble Chart with Dropdown</h1> <div id="tooltip" class="hidden"> <p><strong></strong></p> <p><span id="value"><hr></span></p> <p><span id="value2"><hr></span></p> <p><span id="value4"><hr></span></p> <p><span id="value3"><hr></span></p> </div> <h2></h2> <body> <script type="text/javascript"> //Top 10 most populated countries dataset={ "children": [{"year":2016,"country_or_area":"China","comm_code":"270900","commodity":"Petroleum oils, oils from bituminous minerals, crude","flow":"Import","trade_usd":116.66},{"year":2016,"country_or_area":"China","comm_code":"710812","commodity":"Gold in unwrought forms non-monetary","flow":"Import","trade_usd":60.6},{"year":2016,"country_or_area":"China","comm_code":"260111","commodity":"Iron ore, concentrate, not iron pyrites,unagglomerate","flow":"Import","trade_usd":56.87},{"year":2016,"country_or_area":"China","comm_code":"870323","commodity":"Automobiles, spark ignition engine of 1500-3000 cc","flow":"Import","trade_usd":35.44},{"year":2016,"country_or_area":"China","comm_code":"120100","commodity":"Soya beans","flow":"Import","trade_usd":33.98},{"year":2016,"country_or_area":"China","comm_code":"260300","commodity":"Copper ores and concentrates","flow":"Import","trade_usd":20.89},{"year":2016,"country_or_area":"China","comm_code":"880240","commodity":"Fixed wing aircraft, unladen weight > 15,000 kg","flow":"Import","trade_usd":19.78},{"year":2016,"country_or_area":"China","comm_code":"740311","commodity":"Copper cathodes and sections of cathodes unwrought","flow":"Import","trade_usd":17.83},{"year":2016,"country_or_area":"China","comm_code":"999999","commodity":"Commodities not specified according to kind","flow":"Import","trade_usd":12.91},{"year":2016,"country_or_area":"China","comm_code":"870840","commodity":"Transmissions for motor vehicles","flow":"Import","trade_usd":11.4},{"year":2016,"country_or_area":"China","comm_code":"271000","commodity":"Oils petroleum, bituminous, distillates, except crude","flow":"Import","trade_usd":11.16},{"year":2016,"country_or_area":"China","comm_code":"300490","commodity":"Medicaments nes, in dosage","flow":"Import","trade_usd":9.77},{"year":2016,"country_or_area":"China","comm_code":"271111","commodity":"Natural gas, liquefied","flow":"Import","trade_usd":8.94},{"year":2016,"country_or_area":"China","comm_code":"270112","commodity":"Bituminous coal, not agglomerated","flow":"Import","trade_usd":8.82},{"year":2016,"country_or_area":"China","comm_code":"271121","commodity":"Natural gas in gaseous state","flow":"Import","trade_usd":7.55},{"year":2016,"country_or_area":"China","comm_code":"710239","commodity":"Diamonds (jewellery) worked but not mounted or set","flow":"Import","trade_usd":6.99},{"year":2016,"country_or_area":"China","comm_code":"270750","commodity":"Aromatic hydrocarbon mixtures from coal tar, nes","flow":"Import","trade_usd":6.55},{"year":2016,"country_or_area":"China","comm_code":"740400","commodity":"Copper\\/copper alloy waste or scrap","flow":"Import","trade_usd":6.18},{"year":2016,"country_or_area":"China","comm_code":"382390","commodity":"Chemical industry products, preparations, mixtures ne","flow":"Import","trade_usd":5.87},{"year":2016,"country_or_area":"China","comm_code":"870324","commodity":"Automobiles, spark ignition engine of >3000 cc","flow":"Import","trade_usd":4.93},{"year":2016,"country_or_area":"China","comm_code":"300210","commodity":"Antisera and other blood fractions","flow":"Import","trade_usd":4.9},{"year":2016,"country_or_area":"China","comm_code":"470321","commodity":"Chem wood pulp, sodaor sulphate, conifer, bleached","flow":"Import","trade_usd":4.77},{"year":2016,"country_or_area":"China","comm_code":"870829","commodity":"Parts and accessories of bodies nes for motor vehicle","flow":"Import","trade_usd":4.62},{"year":2016,"country_or_area":"China","comm_code":"271112","commodity":"Propane, liquefied","flow":"Import","trade_usd":4.4},{"year":2016,"country_or_area":"China","comm_code":"470329","commodity":"Chem wood pulp, soda\\/sulphate, non-conifer, bleached","flow":"Import","trade_usd":4.26},{"year":2016,"country_or_area":"China","comm_code":"440320","commodity":"Logs, poles, coniferous not treated or painted","flow":"Import","trade_usd":4.05},{"year":2016,"country_or_area":"China","comm_code":"440710","commodity":"Lumber, coniferous (softwood) thickness < 6 mm","flow":"Import","trade_usd":3.79},{"year":2016,"country_or_area":"China","comm_code":"330499","commodity":"Beauty, makeup and suntan preparations nes","flow":"Import","trade_usd":3.58},{"year":2016,"country_or_area":"China","comm_code":"740200","commodity":"Unrefined copper, copper anodes, electrolytic refinin","flow":"Import","trade_usd":3.46},{"year":2016,"country_or_area":"China","comm_code":"750210","commodity":"Nickel unwrought, not alloyed","flow":"Import","trade_usd":3.44},{"year":2016,"country_or_area":"China","comm_code":"271000","commodity":"Oils petroleum, bituminous, distillates, except crude","flow":"Export","trade_usd":19.4},{"year":2016,"country_or_area":"China","comm_code":"950390","commodity":"Toys nes","flow":"Export","trade_usd":18.38},{"year":2016,"country_or_area":"China","comm_code":"640299","commodity":"Footwear, outer soles\\/uppers of rubber or plastic, ne","flow":"Export","trade_usd":17.05},{"year":2016,"country_or_area":"China","comm_code":"940540","commodity":"Electric lamps, lighting fittings, nes","flow":"Export","trade_usd":16.64},{"year":2016,"country_or_area":"China","comm_code":"890190","commodity":"Cargo vessels other than tanker or refrigerated","flow":"Export","trade_usd":12.71},{"year":2016,"country_or_area":"China","comm_code":"711319","commodity":"Jewellery and parts of precious metal except silver","flow":"Export","trade_usd":12.38},{"year":2016,"country_or_area":"China","comm_code":"640419","commodity":"Footwear,sole rubber\\/plastic,upper textile, not sport","flow":"Export","trade_usd":11.6},{"year":2016,"country_or_area":"China","comm_code":"420212","commodity":"Trunks, suit-cases, etc, outer surface plastic\\/textil","flow":"Export","trade_usd":9.37},{"year":2016,"country_or_area":"China","comm_code":"950410","commodity":"Video games used with a television receiver","flow":"Export","trade_usd":9.23},{"year":2016,"country_or_area":"China","comm_code":"940161","commodity":"Seats with wooden frames, upholstered nes","flow":"Export","trade_usd":7.71},{"year":2016,"country_or_area":"China","comm_code":"401120","commodity":"Pneumatic tyres new of rubber for buses or lorries","flow":"Export","trade_usd":6.67},{"year":2016,"country_or_area":"China","comm_code":"940360","commodity":"Furniture, wooden, nes","flow":"Export","trade_usd":6.64},{"year":2016,"country_or_area":"China","comm_code":"940510","commodity":"Chandeliers, other electric ceiling or wall lights","flow":"Export","trade_usd":6.39},{"year":2016,"country_or_area":"China","comm_code":"940320","commodity":"Furniture, metal, nes","flow":"Export","trade_usd":6.25},{"year":2016,"country_or_area":"China", "comm_code":"940490","commodity":"Articles of bedding nes","flow":"Export","trade_usd":5.97},{"year":2016,"country_or_area":"China","comm_code":"420222","commodity":"Handbags with outer surface plastics, textile materia","flow":"Export","trade_usd":5.72},{"year":2016,"country_or_area":"China","comm_code":"640399","commodity":"Footwear, sole rubber, plastics uppers of leather, ne","flow":"Export","trade_usd":5.64},{"year":2016,"country_or_area":"China","comm_code":"600293","commodity":"Knit or crochet fabric of manmade fibres, nes","flow":"Export","trade_usd":5.54},{"year":2016,"country_or_area":"China","comm_code":"870870","commodity":"Wheels including parts\\/accessories for motor vehicles","flow":"Export","trade_usd":5.23},{"year":2016,"country_or_area":"China","comm_code":"540752","commodity":"Woven fabric >85% textured polyester, dyed, nes","flow":"Export","trade_usd":5.06},{"year":2016,"country_or_area":"China","comm_code":"890120","commodity":"Tankers","flow":"Export","trade_usd":5.01},{"year":2016,"country_or_area":"China","comm_code":"691110","commodity":"Tableware and kitchenware of porcelain or china","flow":"Export","trade_usd":4.89},{"year":2016,"country_or_area":"China","comm_code":"870899","commodity":"Motor vehicle parts nes","flow":"Export","trade_usd":4.69},{"year":2016,"country_or_area":"China","comm_code":"870839","commodity":"Brake system parts except linings for motor vehicles","flow":"Export","trade_usd":4.67},{"year":2016,"country_or_area":"China","comm_code":"401110","commodity":"Pneumatic tyres new of rubber for motor cars","flow":"Export","trade_usd":4.62},{"year":2016,"country_or_area":"China","comm_code":"940350","commodity":"Bedroom furniture, wooden, nes","flow":"Export","trade_usd":4.56},{"year":2016,"country_or_area":"China","comm_code":"999999","commodity":"Commodities not specified according to kind","flow":"Export","trade_usd":4.56},{"year":2016,"country_or_area":"China","comm_code":"630790","commodity":"Made up articles (textile) nes, textile dresspattern","flow":"Export","trade_usd":4.41},{"year":2016,"country_or_area":"China","comm_code":"870829","commodity":"Parts and accessories of bodies nes for motor vehicle","flow":"Export","trade_usd":4.24},{"year":2016,"country_or_area":"China","comm_code":"860900","commodity":"Cargo containers designed for carriage","flow":"Export","trade_usd":4.23},{"year":2016,"country_or_area":"India","comm_code":"270900","commodity":"Petroleum oils, oils from bituminous minerals, crude","flow":"Import","trade_usd":60.87},{"year":2016,"country_or_area":"India","comm_code":"710812","commodity":"Gold in unwrought forms non-monetary","flow":"Import","trade_usd":22.8},{"year":2016,"country_or_area":"India","comm_code":"710231","commodity":"Diamonds (jewellery) unworked or simply sawn, cleaved","flow":"Import","trade_usd":16.46},{"year":2016,"country_or_area":"India","comm_code":"270119","commodity":"Coal except anthracite or bituminous, not agglomerate","flow":"Import","trade_usd":11.73},{"year":2016,"country_or_area":"India","comm_code":"999999","commodity":"Commodities not specified according to kind","flow":"Import","trade_usd":10.61},{"year":2016,"country_or_area":"India","comm_code":"271111","commodity":"Natural gas, liquefied","flow":"Import","trade_usd":5.43},{"year":2016,"country_or_area":"India","comm_code":"271000","commodity":"Oils petroleum, bituminous, distillates, except crude","flow":"Import","trade_usd":3.69},{"year":2016,"country_or_area":"India","comm_code":"151110","commodity":"Palm oil, crude","flow":"Import","trade_usd":3.67},{"year":2016,"country_or_area":"India","comm_code":"150710","commodity":"Soya-bean oil crude, whether or not degummed","flow":"Import","trade_usd":3.01},{"year":2016,"country_or_area":"India","comm_code":"260300","commodity":"Copper ores and concentrates","flow":"Import","trade_usd":2.46},{"year":2016,"country_or_area":"India","comm_code":"710239","commodity":"Diamonds (jewellery) worked but not mounted or set","flow":"Import","trade_usd":2.45},{"year":2016,"country_or_area":"India","comm_code":"271113","commodity":"Butanes, liquefied","flow":"Import","trade_usd":2.11},{"year":2016,"country_or_area":"India","comm_code":"880330","commodity":"Aircraft parts nes","flow":"Import","trade_usd":2.01},{"year":2016,"country_or_area":"India","comm_code":"151190","commodity":"Palm oil or fractions simply refined","flow":"Import","trade_usd":1.97},{"year":2016,"country_or_area":"India","comm_code":"310530","commodity":"Diammonium phosphate, in packs >10 kg","flow":"Import","trade_usd":1.69},{"year":2016,"country_or_area":"India","comm_code":"890590","commodity":"Floating docks, special function vessels nes","flow":"Import","trade_usd":1.69},{"year":2016,"country_or_area":"India","comm_code":"710691","commodity":"Silver in unwrought forms","flow":"Import","trade_usd":1.64},{"year":2016,"country_or_area":"India","comm_code":"310210","commodity":"Urea, including aqueous solution in packs >10 kg","flow":"Import","trade_usd":1.46},{"year":2016,"country_or_area":"India","comm_code":"710391","commodity":"Rubies, sapphires and emeralds worked but not set","flow":"Import","trade_usd":1.42},{"year":2016,"country_or_area":"India","comm_code":"710122","commodity":"Pearls cultured worked, not mounted or set","flow":"Import","trade_usd":1.34},{"year":2016,"country_or_area":"India","comm_code":"760200","commodity":"Waste or scrap, aluminium","flow":"Import","trade_usd":1.33},{"year":2016,"country_or_area":"India","comm_code":"151211","commodity":"Sunflower-seed or safflower oil, crude","flow":"Import","trade_usd":1.32},{"year":2016,"country_or_area":"India","comm_code":"271112","commodity":"Propane, liquefied","flow":"Import","trade_usd":1.3},{"year":2016,"country_or_area":"India","comm_code":"890400","commodity":"Tugs and pusher craft","flow":"Import","trade_usd":1.0},{"year":2016,"country_or_area":"India","comm_code":"310420","commodity":"Potassium chloride, in packs >10 kg","flow":"Import","trade_usd":0.98},{"year":2016,"country_or_area":"India","comm_code":"170111","commodity":"Raw sugar, cane","flow":"Import","trade_usd":0.92},{"year":2016,"country_or_area":"India","comm_code":"270112","commodity":"Bituminous coal, not agglomerated","flow":"Import","trade_usd":0.87},{"year":2016,"country_or_area":"India","comm_code":"271311","commodity":"Petroleum coke, not calcined","flow":"Import","trade_usd":0.84},{"year":2016,"country_or_area":"India","comm_code":"890800","commodity":"Vessels and other floating structures for breaking up","flow":"Import","trade_usd":0.75},{"year":2016,"country_or_area":"India","comm_code":"271119","commodity":"Petroleum gases & gaseous hydrocarbons nes, liquefied", "flow":"Import","trade_usd":0.75},{"year":2016,"country_or_area":"India","comm_code":"271000","commodity":"Oils petroleum, bituminous, distillates, except crude","flow":"Export","trade_usd":26.95},{"year":2016,"country_or_area":"India","comm_code":"710239","commodity":"Diamonds (jewellery) worked but not mounted or set","flow":"Export","trade_usd":22.44},{"year":2016,"country_or_area":"India","comm_code":"300490","commodity":"Medicaments nes, in dosage","flow":"Export","trade_usd":9.8},{"year":2016,"country_or_area":"India","comm_code":"711319","commodity":"Jewellery and parts of precious metal except silver","flow":"Export","trade_usd":9.21},{"year":2016,"country_or_area":"India","comm_code":"100630","commodity":"Rice, semi-milled or wholly milled","flow":"Export","trade_usd":5.06},{"year":2016,"country_or_area":"India","comm_code":"710812","commodity":"Gold in unwrought forms non-monetary","flow":"Export","trade_usd":4.33},{"year":2016,"country_or_area":"India","comm_code":"020230","commodity":"Bovine cuts boneless, frozen","flow":"Export","trade_usd":3.68},{"year":2016,"country_or_area":"India","comm_code":"711311","commodity":"Jewellery and parts, silver, including plated silver","flow":"Export","trade_usd":3.35},{"year":2016,"country_or_area":"India","comm_code":"880330","commodity":"Aircraft parts nes","flow":"Export","trade_usd":1.66},{"year":2016,"country_or_area":"India","comm_code":"710231","commodity":"Diamonds (jewellery) unworked or simply sawn, cleaved","flow":"Export","trade_usd":1.58},{"year":2016,"country_or_area":"India","comm_code":"760110","commodity":"Aluminium unwrought, not alloyed","flow":"Export","trade_usd":1.45},{"year":2016,"country_or_area":"India","comm_code":"170199","commodity":"Refined sugar, in solid form, nes, pure sucrose","flow":"Export","trade_usd":1.32},{"year":2016,"country_or_area":"India","comm_code":"890590","commodity":"Floating docks, special function vessels nes","flow":"Export","trade_usd":1.25},{"year":2016,"country_or_area":"India","comm_code":"300420","commodity":"Antibiotics nes, in dosage","flow":"Export","trade_usd":0.93},{"year":2016,"country_or_area":"India","comm_code":"999999","commodity":"Commodities not specified according to kind","flow":"Export","trade_usd":0.82},{"year":2016,"country_or_area":"India","comm_code":"890400","commodity":"Tugs and pusher craft","flow":"Export","trade_usd":0.81},{"year":2016,"country_or_area":"India","comm_code":"640391","commodity":"Boots, sole rubber or plastic upper leather, nes","flow":"Export","trade_usd":0.8},{"year":2016,"country_or_area":"India","comm_code":"880240","commodity":"Fixed wing aircraft, unladen weight > 15,000 kg","flow":"Export","trade_usd":0.73},{"year":2016,"country_or_area":"India","comm_code":"120220","commodity":"Ground-nuts shelled, not roasted or cooked","flow":"Export","trade_usd":0.7},{"year":2016,"country_or_area":"India","comm_code":"300220","commodity":"Vaccines, human use","flow":"Export","trade_usd":0.68},{"year":2016,"country_or_area":"India","comm_code":"090420","commodity":"Capsicum or Pimenta, dried, crushed or ground","flow":"Export","trade_usd":0.66},{"year":2016,"country_or_area":"India","comm_code":"240120","commodity":"Tobacco, unmanufactured, stemmed or stripped","flow":"Export","trade_usd":0.61},{"year":2016,"country_or_area":"India","comm_code":"151530","commodity":"Castor oil or fractions not chemically modified","flow":"Export","trade_usd":0.6},{"year":2016,"country_or_area":"India","comm_code":"090240","commodity":"Tea, black (fermented or partly) in packages > 3 kg","flow":"Export","trade_usd":0.58},{"year":2016,"country_or_area":"India","comm_code":"640351","commodity":"Footwear, soles, uppers of leather, over ankle, nes","flow":"Export","trade_usd":0.57},{"year":2016,"country_or_area":"India","comm_code":"090111","commodity":"Coffee, not roasted, not decaffeinated","flow":"Export","trade_usd":0.55},{"year":2016,"country_or_area":"India","comm_code":"260111","commodity":"Iron ore, concentrate, not iron pyrites,unagglomerate","flow":"Export","trade_usd":0.54},{"year":2016,"country_or_area":"India","comm_code":"420310","commodity":"Articles of apparel of leather or composition leather","flow":"Export","trade_usd":0.54},{"year":2016,"country_or_area":"India","comm_code":"690890","commodity":"Glazed ceramic flags, tiles wider than 7 cm","flow":"Export","trade_usd":0.48},{"year":2016,"country_or_area":"India","comm_code":"420231","commodity":"Articles for pocket or handbag, leatherouter surface","flow":"Export","trade_usd":0.47},{"year":2016,"country_or_area":"USA","comm_code":"999999","commodity":"Commodities not specified according to kind","flow":"Import","trade_usd":86.63},{"year":2016,"country_or_area":"USA","comm_code":"880330","commodity":"Aircraft parts nes","flow":"Import","trade_usd":14.51},{"year":2016,"country_or_area":"USA","comm_code":"880240","commodity":"Fixed wing aircraft, unladen weight > 15,000 kg","flow":"Import","trade_usd":9.66},{"year":2016,"country_or_area":"USA","comm_code":"970110","commodity":"Paintings\\/drawings\\/pastels executed by hand","flow":"Import","trade_usd":6.46},{"year":2016,"country_or_area":"USA","comm_code":"880230","commodity":"Fixed wing aircraft, unladen weight 2,000-15,000 kg","flow":"Import","trade_usd":3.55},{"year":2016,"country_or_area":"USA","comm_code":"190590","commodity":"Communion wafers, rice paper, bakers wares nes","flow":"Import","trade_usd":2.86},{"year":2016,"country_or_area":"USA","comm_code":"210690","commodity":"Food preparations nes","flow":"Import","trade_usd":2.19},{"year":2016,"country_or_area":"USA","comm_code":"170490","commodity":"Sugar confectionery not chewing gum, no cocoa content","flow":"Import","trade_usd":1.72},{"year":2016,"country_or_area":"USA","comm_code":"880320","commodity":"Aircraft under-carriages and parts thereof","flow":"Import","trade_usd":1.72},{"year":2016,"country_or_area":"USA","comm_code":"650590","commodity":"Hats and other headgear, knit or crochet, nes","flow":"Import","trade_usd":1.71},{"year":2016,"country_or_area":"USA","comm_code":"010290","commodity":"Bovineanimals, live, except pure-bred breeding","flow":"Import","trade_usd":1.67},{"year":2016,"country_or_area":"USA","comm_code":"190530","commodity":"Sweet biscuits, waffles and wafers","flow":"Import","trade_usd":1.63},{"year":2016,"country_or_area":"USA","comm_code":"060310","commodity":"Cut flowers and flower buds for bouquets, etc., fresh","flow":"Import","trade_usd":1.38},{"year":2016,"country_or_area":"USA","comm_code":"970600","commodity":"Antiques older than one hundred years","flow":"Import","trade_usd":1.34},{"year":2016,"country_or_area":"USA","comm_code":"180100", "commodity":"Cocoa beans, whole or broken, raw or roasted","flow":"Import","trade_usd":1.33},{"year":2016,"country_or_area":"USA","comm_code":"470329","commodity":"Chem wood pulp, soda\\/sulphate, non-conifer, bleached","flow":"Import","trade_usd":1.33},{"year":2016,"country_or_area":"USA","comm_code":"170111","commodity":"Raw sugar, cane","flow":"Import","trade_usd":1.32},{"year":2016,"country_or_area":"USA","comm_code":"470321","commodity":"Chem wood pulp, soda or sulphate, conifer, bleached","flow":"Import","trade_usd":1.29},{"year":2016,"country_or_area":"USA","comm_code":"970300","commodity":"Original sculptures and statuary, in any material","flow":"Import","trade_usd":1.26},{"year":2016,"country_or_area":"USA","comm_code":"890392","commodity":"Motorboats, other than outboard motorboats","flow":"Import","trade_usd":1.11},{"year":2016,"country_or_area":"USA","comm_code":"180690","commodity":"Chocolate\\/cocoa food preparations nes","flow":"Import","trade_usd":1.03},{"year":2016,"country_or_area":"USA","comm_code":"750210","commodity":"Nickel unwrought, not alloyed","flow":"Import","trade_usd":0.98},{"year":2016,"country_or_area":"USA","comm_code":"210390","commodity":"Sauces nes, mixed condiments, mixed seasoning","flow":"Import","trade_usd":0.95},{"year":2016,"country_or_area":"USA","comm_code":"230640","commodity":"Rape or colza seed oil-cake and other solid residues","flow":"Import","trade_usd":0.94},{"year":2016,"country_or_area":"USA","comm_code":"240210","commodity":"Cigars, cheroots and cigarillos, containing tobacco","flow":"Import","trade_usd":0.92},{"year":2016,"country_or_area":"USA","comm_code":"790111","commodity":"Zinc, not alloyed, unwrought, >99% pure","flow":"Import","trade_usd":0.91},{"year":2016,"country_or_area":"USA","comm_code":"780110","commodity":"Lead refined unwrought","flow":"Import","trade_usd":0.82},{"year":2016,"country_or_area":"USA","comm_code":"930200","commodity":"Revolvers and pistols","flow":"Import","trade_usd":0.81},{"year":2016,"country_or_area":"USA","comm_code":"350790","commodity":"Enzymes nes, prepared enzymes nes, except rennet","flow":"Import","trade_usd":0.8},{"year":2016,"country_or_area":"USA","comm_code":"230910","commodity":"Dog or cat food (retail)","flow":"Import","trade_usd":0.78},{"year":2016,"country_or_area":"USA","comm_code":"999999","commodity":"Commodities not specified according to kind","flow":"Export","trade_usd":162.93},{"year":2016,"country_or_area":"USA","comm_code":"100590","commodity":"Maize except seed corn","flow":"Export","trade_usd":10.05},{"year":2016,"country_or_area":"USA","comm_code":"970110","commodity":"Paintings\\/drawings\\/pastels executed by hand","flow":"Export","trade_usd":8.11},{"year":2016,"country_or_area":"USA","comm_code":"880330","commodity":"Aircraft parts nes","flow":"Export","trade_usd":5.45},{"year":2016,"country_or_area":"USA","comm_code":"100190","commodity":"Wheat except durum wheat, and meslin","flow":"Export","trade_usd":5.25},{"year":2016,"country_or_area":"USA","comm_code":"210690","commodity":"Food preparations nes","flow":"Export","trade_usd":5.09},{"year":2016,"country_or_area":"USA","comm_code":"470321","commodity":"Chem wood pulp, soda or sulphate, conifer, bleached","flow":"Export","trade_usd":3.99},{"year":2016,"country_or_area":"USA","comm_code":"930690","commodity":"Munitions of war, ammunition\\/projectiles and parts","flow":"Export","trade_usd":3.85},{"year":2016,"country_or_area":"USA","comm_code":"230400","commodity":"Soya-bean oil-cake and other solid residues","flow":"Export","trade_usd":3.3},{"year":2016,"country_or_area":"USA","comm_code":"880250","commodity":"Spacecraft, satellites and spacecraft launch vehicles","flow":"Export","trade_usd":2.72},{"year":2016,"country_or_area":"USA","comm_code":"260300","commodity":"Copper ores and concentrates","flow":"Export","trade_usd":2.42},{"year":2016,"country_or_area":"USA","comm_code":"880212","commodity":"Helicopters of an unladen weight > 2,000 kg","flow":"Export","trade_usd":2.38},{"year":2016,"country_or_area":"USA","comm_code":"230330","commodity":"Brewing or distilling dregs and waste","flow":"Export","trade_usd":2.19},{"year":2016,"country_or_area":"USA","comm_code":"880240","commodity":"Fixed wing aircraft,unladen weight > 15,000 kg","flow":"Export","trade_usd":1.87},{"year":2016,"country_or_area":"USA","comm_code":"970300","commodity":"Original sculptures and statuary, in any material","flow":"Export","trade_usd":1.77},{"year":2016,"country_or_area":"USA","comm_code":"190590","commodity":"Communion wafers, rice paper, bakers wares nes","flow":"Export","trade_usd":1.62},{"year":2016,"country_or_area":"USA","comm_code":"230990","commodity":"Animal feed preparations nes","flow":"Export","trade_usd":1.52},{"year":2016,"country_or_area":"USA","comm_code":"470710","commodity":"Waste or scrap of unbleached kraft or paperboard","flow":"Export","trade_usd":1.5},{"year":2016,"country_or_area":"USA","comm_code":"810890","commodity":"Titanium, articles thereof, nes","flow":"Export","trade_usd":1.43},{"year":2016,"country_or_area":"USA","comm_code":"100700","commodity":"Grain sorghum","flow":"Export","trade_usd":1.36},{"year":2016,"country_or_area":"USA","comm_code":"230910","commodity":"Dog or cat food (retail)","flow":"Export","trade_usd":1.32},{"year":2016,"country_or_area":"USA","comm_code":"210390","commodity":"Sauces nes, mixed condiments, mixed seasoning","flow":"Export","trade_usd":1.18},{"year":2016,"country_or_area":"USA","comm_code":"100630","commodity":"Rice, semi-milled or wholly milled","flow":"Export","trade_usd":1.15},{"year":2016,"country_or_area":"USA","comm_code":"350691","commodity":"Adhesives based on rubber or plastic, package >1 kg","flow":"Export","trade_usd":1.03},{"year":2016,"country_or_area":"USA","comm_code":"240120","commodity":"Tobacco, unmanufactured, stemmed or stripped","flow":"Export","trade_usd":1.03},{"year":2016,"country_or_area":"USA","comm_code":"260800","commodity":"Zinc ores andconcentrates","flow":"Export","trade_usd":0.97},{"year":2016,"country_or_area":"USA","comm_code":"240220","commodity":"Cigarettes containing tobacco","flow":"Export","trade_usd":0.95},{"year":2016,"country_or_area":"USA","comm_code":"470200","commodity":"Chemical wood pulp, dissolving grades","flow":"Export","trade_usd":0.9},{"year":2016,"country_or_area":"USA","comm_code":"180690","commodity":"Chocolate\\/cocoa food preparations nes","flow":"Export","trade_usd":0.9},{"year":2016,"country_or_area":"USA","comm_code":"260700","commodity":"Lead ores and concentrates","flow":"Export","trade_usd":0.77},{"year":2016,"country_or_area":"Indonesia","comm_code":"271000", "commodity":"Oils petroleum, bituminous, distillates, except crude","flow":"Import","trade_usd":9.94},{"year":2016,"country_or_area":"Indonesia","comm_code":"270900","commodity":"Petroleum oils, oils from bituminous minerals, crude","flow":"Import","trade_usd":6.73},{"year":2016,"country_or_area":"Indonesia","comm_code":"100190","commodity":"Wheat except durum wheat, and meslin","flow":"Import","trade_usd":2.32},{"year":2016,"country_or_area":"Indonesia","comm_code":"170111","commodity":"Raw sugar, cane","flow":"Import","trade_usd":1.99},{"year":2016,"country_or_area":"Indonesia","comm_code":"230400","commodity":"Soya-bean oil-cake and other solid residues","flow":"Import","trade_usd":1.57},{"year":2016,"country_or_area":"Indonesia","comm_code":"120100","commodity":"Soya beans","flow":"Import","trade_usd":0.96},{"year":2016,"country_or_area":"Indonesia","comm_code":"271113","commodity":"Butanes, liquefied","flow":"Import","trade_usd":0.91},{"year":2016,"country_or_area":"Indonesia","comm_code":"710812","commodity":"Gold in unwrought forms non-monetary","flow":"Import","trade_usd":0.83},{"year":2016,"country_or_area":"Indonesia","comm_code":"271112","commodity":"Propane, liquefied","flow":"Import","trade_usd":0.75},{"year":2016,"country_or_area":"Indonesia","comm_code":"310420","commodity":"Potassium chloride, in packs >10 kg","flow":"Import","trade_usd":0.7},{"year":2016,"country_or_area":"Indonesia","comm_code":"010290","commodity":"Bovine animals, live, except pure-bred breeding","flow":"Import","trade_usd":0.6},{"year":2016,"country_or_area":"Indonesia","comm_code":"880330","commodity":"Aircraft parts nes","flow":"Import","trade_usd":0.6},{"year":2016,"country_or_area":"Indonesia","comm_code":"230990","commodity":"Animal feed preparations nes","flow":"Import","trade_usd":0.46},{"year":2016,"country_or_area":"Indonesia","comm_code":"300490","commodity":"Medicaments nes, in dosage","flow":"Import","trade_usd":0.46},{"year":2016,"country_or_area":"Indonesia","comm_code":"890190","commodity":"Cargo vessels other than tankeror refrigerated","flow":"Import","trade_usd":0.44},{"year":2016,"country_or_area":"Indonesia","comm_code":"020230","commodity":"Bovine cuts boneless, frozen","flow":"Import","trade_usd":0.42},{"year":2016,"country_or_area":"Indonesia","comm_code":"210690","commodity":"Food preparations nes","flow":"Import","trade_usd":0.42},{"year":2016,"country_or_area":"Indonesia","comm_code":"470200","commodity":"Chemical wood pulp, dissolving grades","flow":"Import","trade_usd":0.42},{"year":2016,"country_or_area":"Indonesia","comm_code":"100630","commodity":"Rice, semi-milled or wholly milled","flow":"Import","trade_usd":0.4},{"year":2016,"country_or_area":"Indonesia","comm_code":"240120","commodity":"Tobacco, unmanufactured, stemmed or stripped","flow":"Import","trade_usd":0.4},{"year":2016,"country_or_area":"Indonesia","comm_code":"470321","commodity":"Chem wood pulp, soda or sulphate, conifer, bleached","flow":"Import","trade_usd":0.37},{"year":2016,"country_or_area":"Indonesia","comm_code":"330290","commodity":"Mixed odoriferous substances - industrial use nes","flow":"Import","trade_usd":0.35},{"year":2016,"country_or_area":"Indonesia","comm_code":"760120","commodity":"Aluminium unwrought, alloyed","flow":"Import","trade_usd":0.34},{"year":2016,"country_or_area":"Indonesia","comm_code":"999999","commodity":"Commodities not specified according to kind","flow":"Import","trade_usd":0.34},{"year":2016,"country_or_area":"Indonesia","comm_code":"271320","commodity":"Petroleumbitumen","flow":"Import","trade_usd":0.33},{"year":2016,"country_or_area":"Indonesia","comm_code":"040210","commodity":"Milk powder < 1.5% fat","flow":"Import","trade_usd":0.33},{"year":2016,"country_or_area":"Indonesia","comm_code":"890120","commodity":"Tankers","flow":"Import","trade_usd":0.31},{"year":2016,"country_or_area":"Indonesia","comm_code":"600292","commodity":"Knit or crochet fabric of cotton, nes","flow":"Import","trade_usd":0.3},{"year":2016,"country_or_area":"Indonesia","comm_code":"560300","commodity":"Nonwovens textiles except felt","flow":"Import","trade_usd":0.3},{"year":2016,"country_or_area":"Indonesia","comm_code":"270112","commodity":"Bituminous coal, not agglomerated","flow":"Import","trade_usd":0.28},{"year":2016,"country_or_area":"Indonesia","comm_code":"151190","commodity":"Palm oil or fractions simply refined","flow":"Export","trade_usd":11.06},{"year":2016,"country_or_area":"Indonesia","comm_code":"270119","commodity":"Coal except anthracite or bituminous, not agglomerate","flow":"Export","trade_usd":6.53},{"year":2016,"country_or_area":"Indonesia","comm_code":"270112","commodity":"Bituminous coal, not agglomerated","flow":"Export","trade_usd":6.37},{"year":2016,"country_or_area":"Indonesia","comm_code":"270900","commodity":"Petroleum oils, oils from bituminous minerals, crude","flow":"Export","trade_usd":5.2},{"year":2016,"country_or_area":"Indonesia","comm_code":"271111","commodity":"Natural gas, liquefied","flow":"Export","trade_usd":5.15},{"year":2016,"country_or_area":"Indonesia","comm_code":"711319","commodity":"Jewellery and parts of precious metal except silver","flow":"Export","trade_usd":4.01},{"year":2016,"country_or_area":"Indonesia","comm_code":"260300","commodity":"Copper ores and concentrates","flow":"Export","trade_usd":3.48},{"year":2016,"country_or_area":"Indonesia","comm_code":"151110","commodity":"Palm oil, crude","flow":"Export","trade_usd":3.31},{"year":2016,"country_or_area":"Indonesia","comm_code":"271121","commodity":"Natural gas in gaseous state","flow":"Export","trade_usd":1.85},{"year":2016,"country_or_area":"Indonesia","comm_code":"270210","commodity":"Lignite, not agglomerated","flow":"Export","trade_usd":1.61},{"year":2016,"country_or_area":"Indonesia","comm_code":"151329","commodity":"Palm kernel & babassu oil, fractions, simply refined","flow":"Export","trade_usd":1.6},{"year":2016,"country_or_area":"Indonesia","comm_code":"470329","commodity":"Chem wood pulp, soda\\/sulphate, non-conifer, bleached","flow":"Export","trade_usd":1.56},{"year":2016,"country_or_area":"Indonesia","comm_code":"151919","commodity":"Industrial monocarboxylic fatty acids, nes, acid oils","flow":"Export","trade_usd":1.42},{"year":2016,"country_or_area":"Indonesia","comm_code":"710812","commodity":"Gold in unwrought forms non-monetary","flow":"Export","trade_usd":1.19},{"year":2016,"country_or_area":"Indonesia","comm_code":"640411","commodity":"Sports footwear, sole rubber or plastic, upper textil","flow":"Export","trade_usd":1.13},{"year":2016,"country_or_area":"Indonesia","comm_code":"800110","commodity":"Tin not alloyed unwrought","flow":"Export","trade_usd":1.12}, {"year":2016,"country_or_area":"Indonesia","comm_code":"640319","commodity":"Sports footwear, except ski, uppers of leather","flow":"Export","trade_usd":1.06},{"year":2016,"country_or_area":"Indonesia","comm_code":"090111","commodity":"Coffee, not roasted, not decaffeinated","flow":"Export","trade_usd":1.0},{"year":2016,"country_or_area":"Indonesia","comm_code":"640399","commodity":"Footwear, sole rubber, plastics uppers of leather, ne","flow":"Export","trade_usd":0.92},{"year":2016,"country_or_area":"Indonesia","comm_code":"240220","commodity":"Cigarettes containing tobacco","flow":"Export","trade_usd":0.74},{"year":2016,"country_or_area":"Indonesia","comm_code":"711290","commodity":"Waste\\/scrap, precious metals except pure gold\\/platinu","flow":"Export","trade_usd":0.72},{"year":2016,"country_or_area":"Indonesia","comm_code":"180400","commodity":"Cocoa butter, fat, oil","flow":"Export","trade_usd":0.7},{"year":2016,"country_or_area":"Indonesia","comm_code":"151790","commodity":"Edible mix & preparations of animal & veg fat, oil ne","flow":"Export","trade_usd":0.62},{"year":2016,"country_or_area":"Indonesia","comm_code":"750110","commodity":"Nickel mattes","flow":"Export","trade_usd":0.58},{"year":2016,"country_or_area":"Indonesia","comm_code":"640419","commodity":"Footwear,sole rubber\\/plastic,upper textile, not sport","flow":"Export","trade_usd":0.58},{"year":2016,"country_or_area":"Indonesia","comm_code":"151920","commodity":"Industrial fatty alcohols","flow":"Export","trade_usd":0.52},{"year":2016,"country_or_area":"Indonesia","comm_code":"190530","commodity":"Sweet biscuits, waffles and wafers","flow":"Export","trade_usd":0.48},{"year":2016,"country_or_area":"Indonesia","comm_code":"151319","commodity":"Coconut (copra) oil or fractions simply refined","flow":"Export","trade_usd":0.43},{"year":2016,"country_or_area":"Indonesia","comm_code":"210110","commodity":"Coffee extracts, essences, concentrates, preparations","flow":"Export","trade_usd":0.42},{"year":2016,"country_or_area":"Indonesia","comm_code":"090411","commodity":"Pepper of the genus Piper, whole","flow":"Export","trade_usd":0.42},{"year":2016,"country_or_area":"Brazil","comm_code":"271000","commodity":"Oils petroleum, bituminous, distillates, except crude","flow":"Import","trade_usd":7.3},{"year":2016,"country_or_area":"Brazil","comm_code":"270900","commodity":"Petroleum oils, oils from bituminous minerals, crude","flow":"Import","trade_usd":2.9},{"year":2016,"country_or_area":"Brazil","comm_code":"300490","commodity":"Medicamentsnes, in dosage","flow":"Import","trade_usd":2.45},{"year":2016,"country_or_area":"Brazil","comm_code":"310420","commodity":"Potassium chloride, in packs >10 kg","flow":"Import","trade_usd":1.99},{"year":2016,"country_or_area":"Brazil","comm_code":"300210","commodity":"Antisera and other blood fractions","flow":"Import","trade_usd":1.72},{"year":2016,"country_or_area":"Brazil","comm_code":"870323","commodity":"Automobiles, spark ignition engine of 1500-3000 cc","flow":"Import","trade_usd":1.57},{"year":2016,"country_or_area":"Brazil","comm_code":"870840","commodity":"Transmissions for motor vehicles","flow":"Import","trade_usd":1.52},{"year":2016,"country_or_area":"Brazil","comm_code":"270112","commodity":"Bituminous coal, not agglomerated","flow":"Import","trade_usd":1.46},{"year":2016,"country_or_area":"Brazil","comm_code":"870421","commodity":"Diesel powered trucks weighing < 5 tonnes","flow":"Import","trade_usd":1.38},{"year":2016,"country_or_area":"Brazil","comm_code":"100190","commodity":"Wheat except durum wheat, and meslin","flow":"Import","trade_usd":1.34},{"year":2016,"country_or_area":"Brazil","comm_code":"271121","commodity":"Natural gas in gaseous state","flow":"Import","trade_usd":1.28},{"year":2016,"country_or_area":"Brazil","comm_code":"880330","commodity":"Aircraft parts nes","flow":"Import","trade_usd":1.17},{"year":2016,"country_or_area":"Brazil","comm_code":"310540","commodity":"Monoammonium phosphate & mix with diammonium, <=10 kg","flow":"Import","trade_usd":0.98},{"year":2016,"country_or_area":"Brazil","comm_code":"380810","commodity":"Insecticides, packaged for retail sale","flow":"Import","trade_usd":0.96},{"year":2016,"country_or_area":"Brazil","comm_code":"870829","commodity":"Parts and accessories of bodies nes for motor vehicle","flow":"Import","trade_usd":0.93},{"year":2016,"country_or_area":"Brazil","comm_code":"310210","commodity":"Urea, including aqueous solution in packs >10 kg","flow":"Import","trade_usd":0.9},{"year":2016,"country_or_area":"Brazil","comm_code":"380820","commodity":"Fungicides, packaged for retail sale","flow":"Import","trade_usd":0.83},{"year":2016,"country_or_area":"Brazil","comm_code":"740311","commodity":"Copper cathodes and sections of cathodes unwrought","flow":"Import","trade_usd":0.81},{"year":2016,"country_or_area":"Brazil","comm_code":"271111","commodity":"Natural gas, liquefied","flow":"Import","trade_usd":0.77},{"year":2016,"country_or_area":"Brazil","comm_code":"870899","commodity":"Motor vehicle parts nes","flow":"Import","trade_usd":0.71},{"year":2016,"country_or_area":"Brazil","comm_code":"300220","commodity":"Vaccines, human use","flow":"Import","trade_usd":0.7},{"year":2016,"country_or_area":"Brazil","comm_code":"260300","commodity":"Copper ores and concentrates","flow":"Import","trade_usd":0.69},{"year":2016,"country_or_area":"Brazil","comm_code":"890590","commodity":"Floating docks, special function vessels nes","flow":"Import","trade_usd":0.63},{"year":2016,"country_or_area":"Brazil","comm_code":"271112","commodity":"Propane, liquefied","flow":"Import","trade_usd":0.58},{"year":2016,"country_or_area":"Brazil","comm_code":"310559","commodity":"Fertilizers with nitrogen and phosphorus nes, <=10kg","flow":"Import","trade_usd":0.55},{"year":2016,"country_or_area":"Brazil","comm_code":"380830","commodity":"Herbicides, sprouting and growth regulators","flow":"Import","trade_usd":0.54},{"year":2016,"country_or_area":"Brazil","comm_code":"100590","commodity":"Maize except seed corn","flow":"Import","trade_usd":0.49},{"year":2016,"country_or_area":"Brazil","comm_code":"110710","commodity":"Malt, not roasted","flow":"Import","trade_usd":0.48},{"year":2016,"country_or_area":"Brazil","comm_code":"392690","commodity":"Plastic articles nes","flow":"Import","trade_usd":0.47},{"year":2016,"country_or_area":"Brazil","comm_code":"870333","commodity":"Automobiles, diesel engine of >2500 cc","flow":"Import","trade_usd":0.45},{"year":2016,"country_or_area":"Brazil","comm_code":"120100","commodity":"Soya beans","flow":"Export","trade_usd":19.33},{"year":2016,"country_or_area":"Brazil","comm_code":"260111", "commodity":"Iron ore, concentrate, not iron pyrites,unagglomerate","flow":"Export","trade_usd":11.58},{"year":2016,"country_or_area":"Brazil","comm_code":"270900","commodity":"Petroleum oils, oils from bituminous minerals, crude","flow":"Export","trade_usd":10.07},{"year":2016,"country_or_area":"Brazil","comm_code":"170111","commodity":"Raw sugar, cane","flow":"Export","trade_usd":8.28},{"year":2016,"country_or_area":"Brazil","comm_code":"230400","commodity":"Soya-bean oil-cake and other solid residues","flow":"Export","trade_usd":5.19},{"year":2016,"country_or_area":"Brazil","comm_code":"470329","commodity":"Chem wood pulp, soda\\/sulphate, non-conifer, bleached","flow":"Export","trade_usd":5.13},{"year":2016,"country_or_area":"Brazil","comm_code":"090111","commodity":"Coffee, not roasted, not decaffeinated","flow":"Export","trade_usd":4.84},{"year":2016,"country_or_area":"Brazil","comm_code":"020741","commodity":"Fowl cuts & offal, domestic, except livers, frozen","flow":"Export","trade_usd":3.95},{"year":2016,"country_or_area":"Brazil","comm_code":"100590","commodity":"Maize except seed corn","flow":"Export","trade_usd":3.66},{"year":2016,"country_or_area":"Brazil","comm_code":"890590","commodity":"Floating docks, special function vessels nes","flow":"Export","trade_usd":3.64},{"year":2016,"country_or_area":"Brazil","comm_code":"020230","commodity":"Bovine cuts boneless, frozen","flow":"Export","trade_usd":3.57},{"year":2016,"country_or_area":"Brazil","comm_code":"880240","commodity":"Fixed wing aircraft, unladen weight > 15,000 kg","flow":"Export","trade_usd":3.25},{"year":2016,"country_or_area":"Brazil","comm_code":"870323","commodity":"Automobiles, spark ignition engine of 1500-3000 cc","flow":"Export","trade_usd":2.91},{"year":2016,"country_or_area":"Brazil","comm_code":"281820","commodity":"Aluminium oxide, except artificial corundum","flow":"Export","trade_usd":2.22},{"year":2016,"country_or_area":"Brazil","comm_code":"170199","commodity":"Refined sugar, in solid form, nes, pure sucrose","flow":"Export","trade_usd":2.15},{"year":2016,"country_or_area":"Brazil","comm_code":"999999","commodity":"Commodities not specified according to kind","flow":"Export","trade_usd":2.13},{"year":2016,"country_or_area":"Brazil","comm_code":"710813","commodity":"Gold, semi-manufactured forms, non-monetary","flow":"Export","trade_usd":2.04},{"year":2016,"country_or_area":"Brazil","comm_code":"020721","commodity":"Fowls, domestic, whole, frozen","flow":"Export","trade_usd":1.99},{"year":2016,"country_or_area":"Brazil","comm_code":"240120","commodity":"Tobacco, unmanufactured, stemmed or stripped","flow":"Export","trade_usd":1.97},{"year":2016,"country_or_area":"Brazil","comm_code":"260300","commodity":"Copper ores and concentrates","flow":"Export","trade_usd":1.93},{"year":2016,"country_or_area":"Brazil","comm_code":"260112","commodity":"Iron ore, concentrate, not iron pyrites, agglomerated","flow":"Export","trade_usd":1.71},{"year":2016,"country_or_area":"Brazil","comm_code":"720712","commodity":"Semi-finished bars, iron or non-alloy steel <0.25%C, rectangular, nes","flow":"Export","trade_usd":1.52},{"year":2016,"country_or_area":"Brazil","comm_code":"410431","commodity":"Bovine and equine leather, full or split grain, nes","flow":"Export","trade_usd":1.39},{"year":2016,"country_or_area":"Brazil","comm_code":"720293","commodity":"Ferro-niobium","flow":"Export","trade_usd":1.33},{"year":2016,"country_or_area":"Brazil","comm_code":"020329","commodity":"Swine cuts, frozen nes","flow":"Export","trade_usd":1.29},{"year":2016,"country_or_area":"Brazil","comm_code":"830710","commodity":"Tubing,flexible, with\\/without fittings, iron or steel","flow":"Export","trade_usd":1.26},{"year":2016,"country_or_area":"Brazil","comm_code":"520100","commodity":"Cotton, not carded or combed","flow":"Export","trade_usd":1.22},{"year":2016,"country_or_area":"Brazil","comm_code":"870322","commodity":"Automobiles, spark ignition engine of 1000-1500 cc","flow":"Export","trade_usd":1.19},{"year":2016,"country_or_area":"Brazil","comm_code":"271000","commodity":"Oils petroleum, bituminous, distillates, except crude","flow":"Export","trade_usd":1.15},{"year":2016,"country_or_area":"Brazil","comm_code":"880230","commodity":"Fixed wing aircraft, unladen weight 2,000-15,000 kg","flow":"Export","trade_usd":1.08},{"year":2016,"country_or_area":"Pakistan","comm_code":"310530","commodity":"Diammonium phosphate, in packs >10 kg","flow":"Import","trade_usd":0.47},{"year":2016,"country_or_area":"Pakistan","comm_code":"890800","commodity":"Vessels and other floating structures for breaking up","flow":"Import","trade_usd":0.39},{"year":2016,"country_or_area":"Pakistan","comm_code":"890120","commodity":"Tankers","flow":"Import","trade_usd":0.25},{"year":2016,"country_or_area":"Pakistan","comm_code":"040210","commodity":"Milk powder < 1.5% fat","flow":"Import","trade_usd":0.15},{"year":2016,"country_or_area":"Pakistan","comm_code":"230400","commodity":"Soya-bean oil-cake and other solid residues","flow":"Import","trade_usd":0.14},{"year":2016,"country_or_area":"Pakistan","comm_code":"190110","commodity":"Infant foods of cereals, flour, starch or milk, retai","flow":"Import","trade_usd":0.1},{"year":2016,"country_or_area":"Pakistan","comm_code":"600192","commodity":"Pile knit or crochet fabric, of manmade fibres, nes","flow":"Import","trade_usd":0.1},{"year":2016,"country_or_area":"Pakistan","comm_code":"780110","commodity":"Lead refined unwrought","flow":"Import","trade_usd":0.09},{"year":2016,"country_or_area":"Pakistan","comm_code":"999999","commodity":"Commodities not specified according to kind","flow":"Import","trade_usd":0.08},{"year":2016,"country_or_area":"Pakistan","comm_code":"210690","commodity":"Food preparations nes","flow":"Import","trade_usd":0.06},{"year":2016,"country_or_area":"Pakistan","comm_code":"560300","commodity":"Nonwovens textiles except felt","flow":"Import","trade_usd":0.06},{"year":2016,"country_or_area":"Pakistan","comm_code":"100700","commodity":"Grain sorghum","flow":"Import","trade_usd":0.05},{"year":2016,"country_or_area":"Pakistan","comm_code":"100510","commodity":"Maize (corn) seed","flow":"Import","trade_usd":0.05},{"year":2016,"country_or_area":"Pakistan","comm_code":"340211","commodity":"Anionic surface-active agents","flow":"Import","trade_usd":0.05},{"year":2016,"country_or_area":"Pakistan","comm_code":"470321","commodity":"Chem wood pulp, soda or sulphate, conifer, bleached","flow":"Import","trade_usd":0.04},{"year":2016,"country_or_area":"Pakistan","comm_code":"880390","commodity":"Parts of balloons, dirigibles, spacecraft","flow":"Import","trade_usd":0.04}, {"year":2016,"country_or_area":"Pakistan","comm_code":"560500","commodity":"Metallised yarn","flow":"Import","trade_usd":0.04},{"year":2016,"country_or_area":"Pakistan","comm_code":"230990","commodity":"Animal feed preparations nes","flow":"Import","trade_usd":0.04},{"year":2016,"country_or_area":"Pakistan","comm_code":"100610","commodity":"Rice in the husk (paddy or rough)","flow":"Import","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"190190","commodity":"Malt extract & limited cocoa pastrycooks products nes","flow":"Import","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"350790","commodity":"Enzymes nes, prepared enzymes nes, except rennet","flow":"Import","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"860791","commodity":"Railway locomotive parts nes","flow":"Import","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"860699","commodity":"Railway cars nes","flow":"Import","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"530310","commodity":"Jute and other textile bast fibres, raw or retted","flow":"Import","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"600243","commodity":"Warp knit fabric of manmade fibres, nes","flow":"Import","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"600293","commodity":"Knit or crochet fabric of manmade fibres, nes","flow":"Import","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"340213","commodity":"Non-ionic surface active agents","flow":"Import","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"140490","commodity":"Vegetable products nes","flow":"Import","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"470329","commodity":"Chem wood pulp, soda\\/sulphate, non-conifer, bleached","flow":"Import","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"230630","commodity":"Sunflower seed oil-cake and other solid residues","flow":"Import","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"100630","commodity":"Rice, semi-milled or wholly milled","flow":"Export","trade_usd":1.42},{"year":2016,"country_or_area":"Pakistan","comm_code":"420310","commodity":"Articles of apparel of leather or composition leather","flow":"Export","trade_usd":0.3},{"year":2016,"country_or_area":"Pakistan","comm_code":"100640","commodity":"Rice, broken","flow":"Export","trade_usd":0.25},{"year":2016,"country_or_area":"Pakistan","comm_code":"220710","commodity":"Undenatured ethyl alcohol > 80% by volume","flow":"Export","trade_usd":0.22},{"year":2016,"country_or_area":"Pakistan","comm_code":"420329","commodity":"Leather, composition gloves & mittens except sports","flow":"Export","trade_usd":0.19},{"year":2016,"country_or_area":"Pakistan","comm_code":"110100","commodity":"Wheat or meslin flour","flow":"Export","trade_usd":0.17},{"year":2016,"country_or_area":"Pakistan","comm_code":"410431","commodity":"Bovine and equine leather, full or split grain,nes","flow":"Export","trade_usd":0.17},{"year":2016,"country_or_area":"Pakistan","comm_code":"170199","commodity":"Refined sugar, in solid form, nes, pure sucrose","flow":"Export","trade_usd":0.12},{"year":2016,"country_or_area":"Pakistan","comm_code":"420321","commodity":"Leather, composition sports gloves, mittens and mitts","flow":"Export","trade_usd":0.1},{"year":2016,"country_or_area":"Pakistan","comm_code":"410620","commodity":"Goat or kid skin leather, nes","flow":"Export","trade_usd":0.1},{"year":2016,"country_or_area":"Pakistan","comm_code":"570110","commodity":"Carpets of wool or fine animal hair, knotted","flow":"Export","trade_usd":0.08},{"year":2016,"country_or_area":"Pakistan","comm_code":"560819","commodity":"Knotted netting, nets not fishing of manmade textiles","flow":"Export","trade_usd":0.08},{"year":2016,"country_or_area":"Pakistan","comm_code":"261000","commodity":"Chromium ores and concentrates","flow":"Export","trade_usd":0.08},{"year":2016,"country_or_area":"Pakistan","comm_code":"170410","commodity":"Chewing gum containing sugar, except medicinal","flow":"Export","trade_usd":0.04},{"year":2016,"country_or_area":"Pakistan","comm_code":"170230","commodity":"Glucose, glucose syrup < 20% fructose","flow":"Export","trade_usd":0.04},{"year":2016,"country_or_area":"Pakistan","comm_code":"170490","commodity":"Sugar confectionery not chewing gum, no cocoa content","flow":"Export","trade_usd":0.04},{"year":2016,"country_or_area":"Pakistan","comm_code":"100620","commodity":"Rice, husked (brown)","flow":"Export","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"220720","commodity":"Ethyl alcohol and other spirits, denatured","flow":"Export","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"410520","commodity":"Sheep or lamb skin leather, nes","flow":"Export","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"410790","commodity":"Leather, of animals nes","flow":"Export","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"040120","commodity":"Milk not concentrated nor sweetened 1-6% fat","flow":"Export","trade_usd":0.03},{"year":2016,"country_or_area":"Pakistan","comm_code":"130232","commodity":"Mucilages & thickeners, from locust bean, guar seeds","flow":"Export","trade_usd":0.02},{"year":2016,"country_or_area":"Pakistan","comm_code":"210690","commodity":"Food preparations nes","flow":"Export","trade_usd":0.02},{"year":2016,"country_or_area":"Pakistan","comm_code":"410439","commodity":"Bovine and equine leather, nes","flow":"Export","trade_usd":0.02},{"year":2016,"country_or_area":"Pakistan","comm_code":"050400","commodity":"Guts, bladders and stomachs of animals except fish","flow":"Export","trade_usd":0.01},{"year":2016,"country_or_area":"Pakistan","comm_code":"240120","commodity":"Tobacco, unmanufactured, stemmed or stripped","flow":"Export","trade_usd":0.01},{"year":2016,"country_or_area":"Pakistan","comm_code":"420222","commodity":"Handbags with outer surface plastics, textile materia","flow":"Export","trade_usd":0.01},{"year":2016,"country_or_area":"Pakistan","comm_code":"190590","commodity":"Communion wafers, rice paper, bakers wares nes","flow":"Export","trade_usd":0.01},{"year":2016,"country_or_area":"Pakistan","comm_code":"040390","commodity":"Buttermilk, curdled milk, cream, kephir, etc.","flow":"Export","trade_usd":0.01},{"year":2016,"country_or_area":"Pakistan","comm_code":"350300","commodity":"Gelatin & derivatives, isinglass, glues (animal) nes","flow":"Export","trade_usd":0.01},{"year":2014,"country_or_area":"Nigeria", "comm_code":"100190","commodity":"Wheat except durum wheat, and meslin","flow":"Import","trade_usd":1.69},{"year":2014,"country_or_area":"Nigeria","comm_code":"170111","commodity":"Raw sugar, cane","flow":"Import","trade_usd":0.84},{"year":2014,"country_or_area":"Nigeria","comm_code":"100630","commodity":"Rice, semi-milled or wholly milled","flow":"Import","trade_usd":0.66},{"year":2014,"country_or_area":"Nigeria","comm_code":"890520","commodity":"Floating, submersible drilling or production platform","flow":"Import","trade_usd":0.58},{"year":2014,"country_or_area":"Nigeria","comm_code":"040221","commodity":"Milk and cream powder unsweetened < 1.5% fat","flow":"Import","trade_usd":0.47},{"year":2014,"country_or_area":"Nigeria","comm_code":"190190","commodity":"Malt extract & limited cocoa pastrycooks products nes","flow":"Import","trade_usd":0.45},{"year":2014,"country_or_area":"Nigeria","comm_code":"040210","commodity":"Milk powder < 1.5% fat","flow":"Import","trade_usd":0.21},{"year":2014,"country_or_area":"Nigeria","comm_code":"310520","commodity":"Nitrogen-phosphorus-potassium fertilizers, pack >10kg","flow":"Import","trade_usd":0.14},{"year":2014,"country_or_area":"Nigeria","comm_code":"310210","commodity":"Urea, including aqueous solution in packs >10 kg","flow":"Import","trade_usd":0.12},{"year":2014,"country_or_area":"Nigeria","comm_code":"220720","commodity":"Ethyl alcohol and other spirits, denatured","flow":"Import","trade_usd":0.11},{"year":2014,"country_or_area":"Nigeria","comm_code":"110710","commodity":"Malt, not roasted","flow":"Import","trade_usd":0.11},{"year":2014,"country_or_area":"Nigeria","comm_code":"210690","commodity":"Food preparations nes","flow":"Import","trade_usd":0.1},{"year":2014,"country_or_area":"Nigeria","comm_code":"500720","commodity":"Woven fabric >85% silk (except noil silk)","flow":"Import","trade_usd":0.1},{"year":2014,"country_or_area":"Nigeria","comm_code":"210390","commodity":"Sauces nes, mixed condiments, mixed seasoning","flow":"Import","trade_usd":0.09},{"year":2014,"country_or_area":"Nigeria","comm_code":"240120","commodity":"Tobacco, unmanufactured, stemmed or stripped","flow":"Import","trade_usd":0.08},{"year":2014,"country_or_area":"Nigeria","comm_code":"890590","commodity":"Floating docks, special function vessels nes","flow":"Import","trade_usd":0.08},{"year":2014,"country_or_area":"Nigeria","comm_code":"220290","commodity":"Non-alcoholic beverages nes, except fruit, veg juices","flow":"Import","trade_usd":0.07},{"year":2014,"country_or_area":"Nigeria","comm_code":"880212","commodity":"Helicopters of an unladen weight > 2,000 kg","flow":"Import","trade_usd":0.07},{"year":2014,"country_or_area":"Nigeria","comm_code":"490700","commodity":"Documents of title (bonds etc), unused stamps etc","flow":"Import","trade_usd":0.07},{"year":2014,"country_or_area":"Nigeria","comm_code":"490199","commodity":"Printed reading books, except dictionaries etc","flow":"Import","trade_usd":0.07},{"year":2014,"country_or_area":"Nigeria","comm_code":"590190","commodity":"Tracing cloth, painting canvas, stiffenedtextile nes","flow":"Import","trade_usd":0.06},{"year":2014,"country_or_area":"Nigeria","comm_code":"190110","commodity":"Infant foods of cereals, flour, starch or milk, retai","flow":"Import","trade_usd":0.06},{"year":2014,"country_or_area":"Nigeria","comm_code":"040291","commodity":"Milk and cream unsweetened, concentrated","flow":"Import","trade_usd":0.06},{"year":2014,"country_or_area":"Nigeria","comm_code":"100110","commodity":"Durum wheat","flow":"Import","trade_usd":0.05},{"year":2014,"country_or_area":"Nigeria","comm_code":"790111","commodity":"Zinc, not alloyed, unwrought, >99% pure","flow":"Import","trade_usd":0.05},{"year":2014,"country_or_area":"Nigeria","comm_code":"230990","commodity":"Animal feed preparations nes","flow":"Import","trade_usd":0.05},{"year":2014,"country_or_area":"Nigeria","comm_code":"220890","commodity":"Alcoholic liqueurs nes","flow":"Import","trade_usd":0.05},{"year":2014,"country_or_area":"Nigeria","comm_code":"170230","commodity":"Glucose, glucose syrup < 20% fructose","flow":"Import","trade_usd":0.04},{"year":2014,"country_or_area":"Nigeria","comm_code":"210210","commodity":"Yeasts, active","flow":"Import","trade_usd":0.04},{"year":2014,"country_or_area":"Nigeria","comm_code":"100590","commodity":"Maize except seed corn","flow":"Import","trade_usd":0.04},{"year":2014,"country_or_area":"Nigeria","comm_code":"360610","commodity":"Lighter refill fuels (pack < 300 cc)","flow":"Export","trade_usd":1.9},{"year":2014,"country_or_area":"Nigeria","comm_code":"890510","commodity":"Dredgers","flow":"Export","trade_usd":0.85},{"year":2014,"country_or_area":"Nigeria","comm_code":"180100","commodity":"Cocoa beans, whole or broken, raw or roasted","flow":"Export","trade_usd":0.63},{"year":2014,"country_or_area":"Nigeria","comm_code":"890520","commodity":"Floating, submersible drilling or production platform","flow":"Export","trade_usd":0.57},{"year":2014,"country_or_area":"Nigeria","comm_code":"410620","commodity":"Goat or kid skin leather, nes","flow":"Export","trade_usd":0.45},{"year":2014,"country_or_area":"Nigeria","comm_code":"890110","commodity":"Cruise ships, excursion boats, ferry boats","flow":"Export","trade_usd":0.34},{"year":2014,"country_or_area":"Nigeria","comm_code":"180400","commodity":"Cocoa butter, fat, oil","flow":"Export","trade_usd":0.15},{"year":2014,"country_or_area":"Nigeria","comm_code":"240220","commodity":"Cigarettes containing tobacco","flow":"Export","trade_usd":0.14},{"year":2014,"country_or_area":"Nigeria","comm_code":"890590","commodity":"Floating docks, special function vessels nes","flow":"Export","trade_usd":0.13},{"year":2014,"country_or_area":"Nigeria","comm_code":"890800","commodity":"Vessels and other floating structures for breaking up","flow":"Export","trade_usd":0.13},{"year":2014,"country_or_area":"Nigeria","comm_code":"410710","commodity":"Swine leather","flow":"Export","trade_usd":0.07},{"year":2014,"country_or_area":"Nigeria","comm_code":"880212","commodity":"Helicopters of an unladen weight > 2,000 kg","flow":"Export","trade_usd":0.07},{"year":2014,"country_or_area":"Nigeria","comm_code":"890600","commodity":"Warships, lifeboats, hospital ships, vessels nes","flow":"Export","trade_usd":0.06},{"year":2014,"country_or_area":"Nigeria","comm_code":"890200","commodity":"Fishing vessels and factory ships","flow":"Export","trade_usd":0.05},{"year":2014,"country_or_area":"Nigeria","comm_code":"780110","commodity":"Lead refined unwrought","flow":"Export","trade_usd":0.05},{"year":2014,"country_or_area":"Nigeria","comm_code":"180200","commodity":"Cocoa shells, husks, skins and waste", "flow":"Export","trade_usd":0.04},{"year":2014,"country_or_area":"Nigeria","comm_code":"800700","commodity":"Tin articles nes","flow":"Export","trade_usd":0.04},{"year":2014,"country_or_area":"Nigeria","comm_code":"060390","commodity":"Cut flowers and flower buds for bouquets, dried, etc.","flow":"Export","trade_usd":0.04},{"year":2014,"country_or_area":"Nigeria","comm_code":"190220","commodity":"Stuffed pasta","flow":"Export","trade_usd":0.04},{"year":2014,"country_or_area":"Nigeria","comm_code":"800120","commodity":"Tin alloys unwrought","flow":"Export","trade_usd":0.03},{"year":2014,"country_or_area":"Nigeria","comm_code":"410790","commodity":"Leather, of animals nes","flow":"Export","trade_usd":0.03},{"year":2014,"country_or_area":"Nigeria","comm_code":"750512","commodity":"Bars, rods and profiles, nickel alloy","flow":"Export","trade_usd":0.03},{"year":2014,"country_or_area":"Nigeria","comm_code":"811219","commodity":"Beryllium, articles thereof, nes","flow":"Export","trade_usd":0.02},{"year":2014,"country_or_area":"Nigeria","comm_code":"780199","commodity":"Lead unwrought nes","flow":"Export","trade_usd":0.02},{"year":2014,"country_or_area":"Nigeria","comm_code":"230230","commodity":"Wheat bran, sharps, other residues","flow":"Export","trade_usd":0.02},{"year":2014,"country_or_area":"Nigeria","comm_code":"180310","commodity":"Cocoa paste not defatted","flow":"Export","trade_usd":0.02},{"year":2014,"country_or_area":"Nigeria","comm_code":"890400","commodity":"Tugs and pusher craft","flow":"Export","trade_usd":0.02},{"year":2014,"country_or_area":"Nigeria","comm_code":"410520","commodity":"Sheep or lamb skin leather, nes","flow":"Export","trade_usd":0.02},{"year":2014,"country_or_area":"Nigeria","comm_code":"750300","commodity":"Nickel waste or scrap","flow":"Export","trade_usd":0.01},{"year":2014,"country_or_area":"Nigeria","comm_code":"220300","commodity":"Beer made from malt","flow":"Export","trade_usd":0.01},{"year":2015,"country_or_area":"Bangladesh","comm_code":"271000","commodity":"Oils petroleum, bituminous, distillates, except crude","flow":"Import","trade_usd":4.36},{"year":2015,"country_or_area":"Bangladesh","comm_code":"520100","commodity":"Cotton, not carded or combed","flow":"Import","trade_usd":2.23},{"year":2015,"country_or_area":"Bangladesh","comm_code":"151190","commodity":"Palm oil or fractions simply refined","flow":"Import","trade_usd":1.75},{"year":2015,"country_or_area":"Bangladesh","comm_code":"100110","commodity":"Durum wheat","flow":"Import","trade_usd":0.99},{"year":2015,"country_or_area":"Bangladesh","comm_code":"150710","commodity":"Soya-bean oil crude, whether or not degummed","flow":"Import","trade_usd":0.94},{"year":2015,"country_or_area":"Bangladesh","comm_code":"890800","commodity":"Vessels and other floating structures for breaking up","flow":"Import","trade_usd":0.84},{"year":2015,"country_or_area":"Bangladesh","comm_code":"621710","commodity":"Clothing accessories nes, textile material, not knit","flow":"Import","trade_usd":0.83},{"year":2015,"country_or_area":"Bangladesh","comm_code":"170111","commodity":"Raw sugar, cane","flow":"Import","trade_usd":0.82},{"year":2015,"country_or_area":"Bangladesh","comm_code":"252310","commodity":"Cement clinkers","flow":"Import","trade_usd":0.75},{"year":2015,"country_or_area":"Bangladesh","comm_code":"520942","commodity":"Denim cotton >85% >200g\\/m2","flow":"Import","trade_usd":0.72},{"year":2015,"country_or_area":"Bangladesh","comm_code":"720711","commodity":"Rectangular iron or non-alloy steel bars, <.25%C, width< twice thicknes","flow":"Import","trade_usd":0.54},{"year":2015,"country_or_area":"Bangladesh","comm_code":"120100","commodity":"Soya beans","flow":"Import","trade_usd":0.48},{"year":2015,"country_or_area":"Bangladesh","comm_code":"720824","commodity":"Hot rolled iron or non-alloy steel, coil,width >600mm, t <3mm thick, ne","flow":"Import","trade_usd":0.47},{"year":2015,"country_or_area":"Bangladesh","comm_code":"520811","commodity":"Plain weave cotton, >85% <100 g\\/m2, unbleached","flow":"Import","trade_usd":0.41},{"year":2015,"country_or_area":"Bangladesh","comm_code":"310210","commodity":"Urea, including aqueous solution in packs >10 kg","flow":"Import","trade_usd":0.4},{"year":2015,"country_or_area":"Bangladesh","comm_code":"100630","commodity":"Rice, semi-milled or wholly milled","flow":"Import","trade_usd":0.38},{"year":2015,"country_or_area":"Bangladesh","comm_code":"520521","commodity":"Cotton yarn >85% single combed >714dtex, not retail","flow":"Import","trade_usd":0.37},{"year":2015,"country_or_area":"Bangladesh","comm_code":"270900","commodity":"Petroleum oils, oils from bituminous minerals, crude","flow":"Import","trade_usd":0.37},{"year":2015,"country_or_area":"Bangladesh","comm_code":"390210","commodity":"Polypropylene in primaryforms","flow":"Import","trade_usd":0.35},{"year":2015,"country_or_area":"Bangladesh","comm_code":"310530","commodity":"Diammonium phosphate, in packs >10 kg","flow":"Import","trade_usd":0.3},{"year":2015,"country_or_area":"Bangladesh","comm_code":"310310","commodity":"Superphosphates, in packs >10 kg","flow":"Import","trade_usd":0.3},{"year":2015,"country_or_area":"Bangladesh","comm_code":"230990","commodity":"Animal feed preparations nes","flow":"Import","trade_usd":0.29},{"year":2015,"country_or_area":"Bangladesh","comm_code":"270119","commodity":"Coal except anthracite or bituminous, not agglomerate","flow":"Import","trade_usd":0.28},{"year":2015,"country_or_area":"Bangladesh","comm_code":"490600","commodity":"Plans and drawings for architectural etc use","flow":"Import","trade_usd":0.26},{"year":2015,"country_or_area":"Bangladesh","comm_code":"310420","commodity":"Potassium chloride, in packs >10 kg","flow":"Import","trade_usd":0.25},{"year":2015,"country_or_area":"Bangladesh","comm_code":"320416","commodity":"Reactive dyes and preparations based thereon","flow":"Import","trade_usd":0.24},{"year":2015,"country_or_area":"Bangladesh","comm_code":"390110","commodity":"Polyethylene - specific gravity <0.94 in primary form","flow":"Import","trade_usd":0.23},{"year":2015,"country_or_area":"Bangladesh","comm_code":"720449","commodity":"Ferrous waste or scrap, nes","flow":"Import","trade_usd":0.23},{"year":2015,"country_or_area":"Bangladesh","comm_code":"520839","commodity":"Woven cotton nes, >85% <200g\\/m2, dyed","flow":"Import","trade_usd":0.22},{"year":2015,"country_or_area":"Bangladesh","comm_code":"551219","commodity":"Woven fabric >85% polyester staple fibres, nes","flow":"Import","trade_usd":0.21},{"year":2015,"country_or_area":"Bangladesh","comm_code":"610910","commodity":"T-shirts, singlets and other vests, of cotton, knit","flow":"Export", "trade_usd":5.79},{"year":2015,"country_or_area":"Bangladesh","comm_code":"620342","commodity":"Mens, boys trousers & shorts, of cotton, not knit","flow":"Export","trade_usd":5.03},{"year":2015,"country_or_area":"Bangladesh","comm_code":"620462","commodity":"Womens, girls trousers & shorts, of cotton, not knit","flow":"Export","trade_usd":2.21},{"year":2015,"country_or_area":"Bangladesh","comm_code":"620520","commodity":"Mens, boys shirts, of cotton, not knit","flow":"Export","trade_usd":1.68},{"year":2015,"country_or_area":"Bangladesh","comm_code":"611020","commodity":"Pullovers, cardigans etcof cotton, knit","flow":"Export","trade_usd":1.24},{"year":2015,"country_or_area":"Bangladesh","comm_code":"611090","commodity":"Pullovers, cardigans etc of material nes knit","flow":"Export","trade_usd":1.24},{"year":2015,"country_or_area":"Bangladesh","comm_code":"610510","commodity":"Mens, boys shirts, of cotton, knit","flow":"Export","trade_usd":0.72},{"year":2015,"country_or_area":"Bangladesh","comm_code":"620590","commodity":"Mens, boys shirts, of material nes, not knit","flow":"Export","trade_usd":0.58},{"year":2015,"country_or_area":"Bangladesh","comm_code":"610462","commodity":"Womens, girls trousers & shorts, of cotton, knit","flow":"Export","trade_usd":0.45},{"year":2015,"country_or_area":"Bangladesh","comm_code":"620469","commodity":"Womens, girls trousers, shorts, material nes, not kni","flow":"Export","trade_usd":0.43},{"year":2015,"country_or_area":"Bangladesh","comm_code":"611030","commodity":"Pullovers, cardigans etc of manmade fibres, knit","flow":"Export","trade_usd":0.4},{"year":2015,"country_or_area":"Bangladesh","comm_code":"030613","commodity":"Shrimps and prawns, frozen","flow":"Export","trade_usd":0.38},{"year":2015,"country_or_area":"Bangladesh","comm_code":"530710","commodity":"Yarn of jute ortextile bast fibres nes, single","flow":"Export","trade_usd":0.36},{"year":2015,"country_or_area":"Bangladesh","comm_code":"620349","commodity":"Mens, boys trousers & shorts, material nes, not knit","flow":"Export","trade_usd":0.34},{"year":2015,"country_or_area":"Bangladesh","comm_code":"620630","commodity":"Womens, girls blouses & shirts, of cotton, not knit","flow":"Export","trade_usd":0.32},{"year":2015,"country_or_area":"Bangladesh","comm_code":"610990","commodity":"T-shirts, singlets etc, of material nes, knit","flow":"Export","trade_usd":0.31},{"year":2015,"country_or_area":"Bangladesh","comm_code":"610821","commodity":"Womens, girls briefs or panties, of cotton, knit","flow":"Export","trade_usd":0.29},{"year":2015,"country_or_area":"Bangladesh","comm_code":"621210","commodity":"Brassieres and parts thereof","flow":"Export","trade_usd":0.28},{"year":2015,"country_or_area":"Bangladesh","comm_code":"610342","commodity":"Mens, boys trousers & shorts, of cotton, knit","flow":"Export","trade_usd":0.28},{"year":2015,"country_or_area":"Bangladesh","comm_code":"610711","commodity":"Mens, boys underpants or briefs, of cotton, knit","flow":"Export","trade_usd":0.26},{"year":2015,"country_or_area":"Bangladesh","comm_code":"620343","commodity":"Mens, boys trousers shorts, synthetic fibre, not knit","flow":"Export","trade_usd":0.22},{"year":2015,"country_or_area":"Bangladesh","comm_code":"410439","commodity":"Bovine and equine leather, nes","flow":"Export","trade_usd":0.22},{"year":2015,"country_or_area":"Bangladesh","comm_code":"620463","commodity":"Womens, girls trousers, shorts, synth fibres, not kni","flow":"Export","trade_usd":0.21},{"year":2015,"country_or_area":"Bangladesh","comm_code":"640399","commodity":"Footwear, sole rubber, plastics uppers of leather, ne","flow":"Export","trade_usd":0.21},{"year":2015,"country_or_area":"Bangladesh","comm_code":"620193","commodity":"Mens, boys anoraks etc, of manmade fibres, not knit","flow":"Export","trade_usd":0.2},{"year":2015,"country_or_area":"Bangladesh","comm_code":"271000","commodity":"Oils petroleum, bituminous, distillates, except crude","flow":"Export","trade_usd":0.17},{"year":2015,"country_or_area":"Bangladesh","comm_code":"630231","commodity":"Bed linen, of cotton, nes","flow":"Export","trade_usd":0.17},{"year":2015,"country_or_area":"Bangladesh","comm_code":"630260","commodity":"Toilet or kitchen linen, of cotton terry towelling","flow":"Export","trade_usd":0.16},{"year":2015,"country_or_area":"Bangladesh","comm_code":"611120","commodity":"Babies garments, accessories of cotton, knit","flow":"Export","trade_usd":0.16},{"year":2015,"country_or_area":"Bangladesh","comm_code":"630622","commodity":"Tents, synthetic fibres","flow":"Export","trade_usd":0.15},{"year":2016,"country_or_area":"Russian Federation","comm_code":"999999","commodity":"Commodities not specified according to kind","flow":"Import","trade_usd":6.6},{"year":2016,"country_or_area":"Russian Federation","comm_code":"240120","commodity":"Tobacco, unmanufactured, stemmed or stripped","flow":"Import","trade_usd":0.76},{"year":2016,"country_or_area":"Russian Federation","comm_code":"890120","commodity":"Tankers","flow":"Import","trade_usd":0.67},{"year":2016,"country_or_area":"Russian Federation","comm_code":"220421","commodity":"Grape wines nes, fortified wine or must, pack < 2l","flow":"Import","trade_usd":0.51},{"year":2016,"country_or_area":"Russian Federation","comm_code":"210690","commodity":"Food preparations nes","flow":"Import","trade_usd":0.46},{"year":2016,"country_or_area":"Russian Federation","comm_code":"890400","commodity":"Tugs and pusher craft","flow":"Import","trade_usd":0.45},{"year":2016,"country_or_area":"Russian Federation","comm_code":"210110","commodity":"Coffee extracts, essences, concentrates, preparations","flow":"Import","trade_usd":0.41},{"year":2016,"country_or_area":"Russian Federation","comm_code":"060310","commodity":"Cut flowers and flower buds for bouquets, etc., fresh","flow":"Import","trade_usd":0.36},{"year":2016,"country_or_area":"Russian Federation","comm_code":"230990","commodity":"Animal feed preparations nes","flow":"Import","trade_usd":0.36},{"year":2016,"country_or_area":"Russian Federation","comm_code":"890190","commodity":"Cargo vessels other than tanker or refrigerated","flow":"Import","trade_usd":0.35},{"year":2016,"country_or_area":"Russian Federation","comm_code":"220820","commodity":"Spirits obtained by distilling grape wine, grape marc","flow":"Import","trade_usd":0.28},{"year":2016,"country_or_area":"Russian Federation","comm_code":"260111","commodity":"Iron ore, concentrate, not iron pyrites,unagglomerate","flow":"Import","trade_usd":0.24},{"year":2016,"country_or_area":"Russian Federation","comm_code":"220830","commodity":"Whiskies","flow":"Import","trade_usd":0.23},{"year":2016,"country_or_area":"Russian Federation", "comm_code":"190110","commodity":"Infant foods of cereals, flour, starch or milk, retai","flow":"Import","trade_usd":0.22},{"year":2016,"country_or_area":"Russian Federation","comm_code":"890520","commodity":"Floating, submersible drilling or production platform","flow":"Import","trade_usd":0.21},{"year":2016,"country_or_area":"Russian Federation","comm_code":"180400","commodity":"Cocoa butter, fat, oil","flow":"Import","trade_usd":0.2},{"year":2016,"country_or_area":"Russian Federation","comm_code":"230910","commodity":"Dog or cat food (retail)","flow":"Import","trade_usd":0.2},{"year":2016,"country_or_area":"Russian Federation","comm_code":"180690","commodity":"Chocolate\\/cocoa food preparations nes","flow":"Import","trade_usd":0.19},{"year":2016,"country_or_area":"Russian Federation","comm_code":"180100","commodity":"Cocoa beans, whole or broken, raw or roasted","flow":"Import","trade_usd":0.16},{"year":2016,"country_or_area":"Russian Federation","comm_code":"190590","commodity":"Communion wafers, rice paper, bakers wares nes","flow":"Import","trade_usd":0.16},{"year":2016,"country_or_area":"Russian Federation","comm_code":"170199","commodity":"Refined sugar, in solid form, nes,pure sucrose","flow":"Import","trade_usd":0.16},{"year":2016,"country_or_area":"Russian Federation","comm_code":"260112","commodity":"Iron ore, concentrate, not iron pyrites, agglomerated","flow":"Import","trade_usd":0.15},{"year":2016,"country_or_area":"Russian Federation","comm_code":"220890","commodity":"Alcoholic liqueurs nes","flow":"Import","trade_usd":0.15},{"year":2016,"country_or_area":"Russian Federation","comm_code":"240220","commodity":"Cigarettes containing tobacco","flow":"Import","trade_usd":0.15},{"year":2016,"country_or_area":"Russian Federation","comm_code":"180310","commodity":"Cocoa paste notdefatted","flow":"Import","trade_usd":0.15},{"year":2016,"country_or_area":"Russian Federation","comm_code":"170490","commodity":"Sugar confectionery not chewing gum, no cocoa content","flow":"Import","trade_usd":0.14},{"year":2016,"country_or_area":"Russian Federation","comm_code":"261000","commodity":"Chromium ores and concentrates","flow":"Import","trade_usd":0.13},{"year":2016,"country_or_area":"Russian Federation","comm_code":"220300","commodity":"Beer made from malt","flow":"Import","trade_usd":0.13},{"year":2016,"country_or_area":"Russian Federation","comm_code":"100510","commodity":"Maize (corn) seed","flow":"Import","trade_usd":0.13},{"year":2016,"country_or_area":"Russian Federation","comm_code":"210390","commodity":"Saucesnes, mixed condiments, mixed seasoning","flow":"Import","trade_usd":0.13},{"year":2016,"country_or_area":"Russian Federation","comm_code":"999999","commodity":"Commodities not specified according to kind","flow":"Export","trade_usd":45.26},{"year":2016,"country_or_area":"Russian Federation","comm_code":"100190","commodity":"Wheat except durum wheat, and meslin","flow":"Export","trade_usd":4.18},{"year":2016,"country_or_area":"Russian Federation","comm_code":"310420","commodity":"Potassium chloride, in packs >10 kg","flow":"Export","trade_usd":1.83},{"year":2016,"country_or_area":"Russian Federation","comm_code":"750210","commodity":"Nickel unwrought, not alloyed","flow":"Export","trade_usd":1.61},{"year":2016,"country_or_area":"Russian Federation","comm_code":"310520","commodity":"Nitrogen-phosphorus-potassium fertilizers, pack >10kg","flow":"Export","trade_usd":1.16},{"year":2016,"country_or_area":"Russian Federation","comm_code":"310210","commodity":"Urea, including aqueous solution in packs >10 kg","flow":"Export","trade_usd":1.14},{"year":2016,"country_or_area":"Russian Federation","comm_code":"100590","commodity":"Maize except seed corn","flow":"Export","trade_usd":0.85},{"year":2016,"country_or_area":"Russian Federation","comm_code":"310540","commodity":"Monoammonium phosphate & mix with diammonium, <=10 kg","flow":"Export","trade_usd":0.68},{"year":2016,"country_or_area":"Russian Federation","comm_code":"470321","commodity":"Chem wood pulp, soda or sulphate, conifer, bleached","flow":"Export","trade_usd":0.67},{"year":2016,"country_or_area":"Russian Federation","comm_code":"310230","commodity":"Ammonium nitrate, including solution, in pack >10 kg","flow":"Export","trade_usd":0.59},{"year":2016,"country_or_area":"Russian Federation","comm_code":"261690","commodity":"Precious metal ores and concentrates except silver","flow":"Export","trade_usd":0.48},{"year":2016,"country_or_area":"Russian Federation","comm_code":"240220","commodity":"Cigarettes containing tobacco","flow":"Export","trade_usd":0.45},{"year":2016,"country_or_area":"Russian Federation","comm_code":"260112","commodity":"Iron ore, concentrate, not iron pyrites, agglomerated","flow":"Export","trade_usd":0.44},{"year":2016,"country_or_area":"Russian Federation","comm_code":"260700","commodity":"Lead ores and concentrates","flow":"Export","trade_usd":0.43},{"year":2016,"country_or_area":"Russian Federation","comm_code":"100300","commodity":"Barley","flow":"Export","trade_usd":0.42},{"year":2016,"country_or_area":"Russian Federation","comm_code":"810890","commodity":"Titanium, articles thereof, nes","flow":"Export","trade_usd":0.42},{"year":2016,"country_or_area":"Russian Federation","comm_code":"310530","commodity":"Diammonium phosphate, in packs >10 kg","flow":"Export","trade_usd":0.41},{"year":2016,"country_or_area":"Russian Federation","comm_code":"260111","commodity":"Iron ore, concentrate, not iron pyrites,unagglomerate","flow":"Export","trade_usd":0.37},{"year":2016,"country_or_area":"Russian Federation","comm_code":"180690","commodity":"Chocolate\\/cocoa food preparationsnes","flow":"Export","trade_usd":0.32},{"year":2016,"country_or_area":"Russian Federation","comm_code":"890400","commodity":"Tugs and pusher craft","flow":"Export","trade_usd":0.28},{"year":2016,"country_or_area":"Russian Federation","comm_code":"310280","commodity":"Urea-ammonium nitrate mixes in solution, pack >10 kg","flow":"Export","trade_usd":0.26},{"year":2016,"country_or_area":"Russian Federation","comm_code":"750110","commodity":"Nickel mattes","flow":"Export","trade_usd":0.24},{"year":2016,"country_or_area":"Russian Federation","comm_code":"230630","commodity":"Sunflower seed oil-cake and other solid residues","flow":"Export","trade_usd":0.23},{"year":2016,"country_or_area":"Russian Federation","comm_code":"310559","commodity":"Fertilizers with nitrogen and phosphorus nes, <=10kg","flow":"Export","trade_usd":0.21},{"year":2016,"country_or_area":"Russian Federation","comm_code":"890190","commodity":"Cargo vessels other than tanker or refrigerated","flow":"Export","trade_usd":0.2},{"year":2016,"country_or_area":"Russian Federation", "comm_code":"230400","commodity":"Soya-bean oil-cake and other solid residues","flow":"Export","trade_usd":0.2},{"year":2016,"country_or_area":"Russian Federation","comm_code":"780110","commodity":"Lead refined unwrought","flow":"Export","trade_usd":0.19},{"year":2016,"country_or_area":"Russian Federation","comm_code":"190530","commodity":"Sweet biscuits, waffles and wafers","flow":"Export","trade_usd":0.19},{"year":2016,"country_or_area":"Russian Federation","comm_code":"490199","commodity":"Printed reading books, except dictionaries etc","flow":"Export","trade_usd":0.19},{"year":2016,"country_or_area":"Russian Federation","comm_code":"470329","commodity":"Chem wood pulp, soda\\/sulphate, non-conifer, bleached","flow":"Export","trade_usd":0.17},{"year":2016,"country_or_area":"Mexico","comm_code":"271000","commodity":"Oils petroleum, bituminous, distillates, except crude","flow":"Import","trade_usd":18.05},{"year":2016,"country_or_area":"Mexico","comm_code":"999999","commodity":"Commodities not specified according to kind","flow":"Import","trade_usd":12.73},{"year":2016,"country_or_area":"Mexico","comm_code":"271121","commodity":"Natural gas in gaseous state","flow":"Import","trade_usd":3.28},{"year":2016,"country_or_area":"Mexico","comm_code":"100590","commodity":"Maize except seed corn","flow":"Import","trade_usd":2.65},{"year":2016,"country_or_area":"Mexico","comm_code":"300490","commodity":"Medicaments nes, in dosage","flow":"Import","trade_usd":1.88},{"year":2016,"country_or_area":"Mexico","comm_code":"120100","commodity":"Soya beans","flow":"Import","trade_usd":1.62},{"year":2016,"country_or_area":"Mexico","comm_code":"271112","commodity":"Propane, liquefied","flow":"Import","trade_usd":1.24},{"year":2016,"country_or_area":"Mexico","comm_code":"100190","commodity":"Wheat except durum wheat, and meslin","flow":"Import","trade_usd":0.98},{"year":2016,"country_or_area":"Mexico","comm_code":"230400","commodity":"Soya-bean oil-cake and other solid residues","flow":"Import","trade_usd":0.83},{"year":2016,"country_or_area":"Mexico","comm_code":"271111","commodity":"Natural gas, liquefied","flow":"Import","trade_usd":0.78},{"year":2016,"country_or_area":"Mexico","comm_code":"210690","commodity":"Food preparations nes","flow":"Import","trade_usd":0.65},{"year":2016,"country_or_area":"Mexico","comm_code":"300210","commodity":"Antisera and other blood fractions","flow":"Import","trade_usd":0.65},{"year":2016,"country_or_area":"Mexico","comm_code":"120500","commodity":"Rape or colza seeds","flow":"Import","trade_usd":0.62},{"year":2016,"country_or_area":"Mexico","comm_code":"040210","commodity":"Milk powder < 1.5% fat","flow":"Import","trade_usd":0.58},{"year":2016,"country_or_area":"Mexico","comm_code":"560300","commodity":"Nonwovens textiles except felt","flow":"Import","trade_usd":0.57},{"year":2016,"country_or_area":"Mexico","comm_code":"410431","commodity":"Bovine and equine leather, full or split grain, nes","flow":"Import","trade_usd":0.54},{"year":2016,"country_or_area":"Mexico","comm_code":"860719","commodity":"Railway & tramway axles, wheels and parts","flow":"Import","trade_usd":0.45},{"year":2016,"country_or_area":"Mexico","comm_code":"270112","commodity":"Bituminous coal, not agglomerated","flow":"Import","trade_usd":0.44},{"year":2016,"country_or_area":"Mexico","comm_code":"170260","commodity":"Fructose, syrup > 50% fructose, not pure fructose","flow":"Import","trade_usd":0.4},{"year":2016,"country_or_area":"Mexico","comm_code":"310210","commodity":"Urea, including aqueous solution in packs >10 kg","flow":"Import","trade_usd":0.4},{"year":2016,"country_or_area":"Mexico","comm_code":"640411","commodity":"Sports footwear, sole rubber or plastic, upper textil","flow":"Import","trade_usd":0.39},{"year":2016,"country_or_area":"Mexico","comm_code":"590390","commodity":"Fabric impregnated, coated, covered with plastic nes","flow":"Import","trade_usd":0.36},{"year":2016,"country_or_area":"Mexico","comm_code":"230330","commodity":"Brewing or distilling dregs and waste","flow":"Import","trade_usd":0.36},{"year":2016,"country_or_area":"Mexico","comm_code":"590320","commodity":"Fabric impregnated, coated, covered with polyurethane","flow":"Import","trade_usd":0.33},{"year":2016,"country_or_area":"Mexico","comm_code":"120991","commodity":"Seed, vegetable, nes for sowing","flow":"Import","trade_usd":0.33},{"year":2016,"country_or_area":"Mexico","comm_code":"470321","commodity":"Chem wood pulp, soda or sulphate, conifer, bleached","flow":"Import","trade_usd":0.32},{"year":2016,"country_or_area":"Mexico","comm_code":"271119","commodity":"Petroleum gases & gaseous hydrocarbons nes, liquefied","flow":"Import","trade_usd":0.3},{"year":2016,"country_or_area":"Mexico","comm_code":"350691","commodity":"Adhesives based on rubber or plastic, package >1 kg","flow":"Import","trade_usd":0.3},{"year":2016,"country_or_area":"Mexico","comm_code":"040690","commodity":"Cheese except fresh, grated, processed or blue-veined","flow":"Import","trade_usd":0.29},{"year":2016,"country_or_area":"Mexico","comm_code":"860799","commodity":"Railway rolling stock parts nes","flow":"Import","trade_usd":0.29},{"year":2016,"country_or_area":"Mexico","comm_code":"270900","commodity":"Petroleum oils, oils from bituminous minerals, crude","flow":"Export","trade_usd":15.5},{"year":2016,"country_or_area":"Mexico","comm_code":"999999","commodity":"Commodities not specified according to kind","flow":"Export","trade_usd":4.94},{"year":2016,"country_or_area":"Mexico","comm_code":"220300","commodity":"Beer made from malt","flow":"Export","trade_usd":2.81},{"year":2016,"country_or_area":"Mexico","comm_code":"271000","commodity":"Oils petroleum, bituminous, distillates, except crude","flow":"Export","trade_usd":2.34},{"year":2016,"country_or_area":"Mexico","comm_code":"260300","commodity":"Copper ores and concentrates","flow":"Export","trade_usd":1.42},{"year":2016,"country_or_area":"Mexico","comm_code":"220890","commodity":"Alcoholic liqueurs nes","flow":"Export","trade_usd":1.3},{"year":2016,"country_or_area":"Mexico","comm_code":"260700","commodity":"Lead ores and concentrates","flow":"Export","trade_usd":1.03},{"year":2016,"country_or_area":"Mexico","comm_code":"300490","commodity":"Medicaments nes, in dosage","flow":"Export","trade_usd":0.97},{"year":2016,"country_or_area":"Mexico","comm_code":"860691","commodity":"Railway cars nes, closed and covered","flow":"Export","trade_usd":0.96},{"year":2016,"country_or_area":"Mexico","comm_code":"860610","commodity":"Railway tank cars","flow":"Export","trade_usd":0.72},{"year":2016,"country_or_area":"Mexico","comm_code":"860630","commodity":"Railway cars, self-discharging, nes","flow":"Export","trade_usd":0.7}, {"year":2016,"country_or_area":"Mexico","comm_code":"010290","commodity":"Bovine animals, live, except pure-bred breeding","flow":"Export","trade_usd":0.65},{"year":2016,"country_or_area":"Mexico","comm_code":"260800","commodity":"Zinc ores and concentrates","flow":"Export","trade_usd":0.64},{"year":2016,"country_or_area":"Mexico","comm_code":"190530","commodity":"Sweet biscuits, waffles and wafers","flow":"Export","trade_usd":0.61},{"year":2016,"country_or_area":"Mexico","comm_code":"170490","commodity":"Sugar confectionery not chewing gum, no cocoa content","flow":"Export","trade_usd":0.55},{"year":2016,"country_or_area":"Mexico","comm_code":"890392","commodity":"Motorboats, other than outboard motorboats","flow":"Export","trade_usd":0.51},{"year":2016,"country_or_area":"Mexico","comm_code":"190590","commodity":"Communion wafers, rice paper, bakers wares nes","flow":"Export","trade_usd":0.48},{"year":2016,"country_or_area":"Mexico","comm_code":"261610","commodity":"Silver ores and concentrates","flow":"Export","trade_usd":0.46},{"year":2016,"country_or_area":"Mexico","comm_code":"691090","commodity":"Ceramic bathroom kitchen sanitary items not porcelain","flow":"Export","trade_usd":0.46},{"year":2016,"country_or_area":"Mexico","comm_code":"100110","commodity":"Durum wheat","flow":"Export","trade_usd":0.41},{"year":2016,"country_or_area":"Mexico","comm_code":"100590","commodity":"Maize except seed corn","flow":"Export","trade_usd":0.4},{"year":2016,"country_or_area":"Mexico","comm_code":"170111","commodity":"Raw sugar, cane","flow":"Export","trade_usd":0.39},{"year":2016,"country_or_area":"Mexico","comm_code":"340220","commodity":"Washing and cleaning preparations, retail","flow":"Export","trade_usd":0.39},{"year":2016,"country_or_area":"Mexico","comm_code":"180690","commodity":"Chocolate\\/cocoa food preparations nes","flow":"Export","trade_usd":0.39},{"year":2016,"country_or_area":"Mexico","comm_code":"880330","commodity":"Aircraft parts nes","flow":"Export","trade_usd":0.37},{"year":2016,"country_or_area":"Mexico","comm_code":"170199","commodity":"Refined sugar, in solid form, nes, pure sucrose","flow":"Export","trade_usd":0.33},{"year":2016,"country_or_area":"Mexico","comm_code":"690890","commodity":"Glazed ceramic flags, tiles wider than 7 cm","flow":"Export","trade_usd":0.29},{"year":2016,"country_or_area":"Mexico","comm_code":"690919","commodity":"Ceramic laboratory & technical ware except porcelain","flow":"Export","trade_usd":0.29},{"year":2016,"country_or_area":"Mexico","comm_code":"210690","commodity":"Food preparations nes","flow":"Export","trade_usd":0.28},{"year":2016,"country_or_area":"Mexico","comm_code":"210390","commodity":"Sauces nes, mixed condiments, mixed seasoning","flow":"Export","trade_usd":0.27}] }; var labels = ["","China", "India", "USA", "Indonesia","Brazil","Pakistan","Nigeria","Bangladesh","Russian Federation","Mexico"]; var options = [0,1,2,3,4,5,6,7,8,9,10]; var diameter = 500; d3.select("h2") .append("select") .attr("class","custom-select") .selectAll("option") .data(options) .enter() .append("option") // Provide available text for the dropdown options .text(function(d) {return labels[d];}) var bubble = d3.pack(dataset) .size([diameter, diameter]) .padding(0.5); var svg = d3.select("body") .append("svg") .attr("width", diameter*2) .attr("height", diameter) .attr("class", "bubble"); var nodes = d3.hierarchy(dataset) .sum(function(d) { return d.trade_usd; }); var node = svg.selectAll(".node") .data(bubble(nodes).descendants()) .enter() .filter(function(d){ return !d.children }) .append("g") .attr("class", "node") .attr("transform", function(d) { return "translate(" + (d.x+diameter/3) + "," + d.y + ")"; }); node.append("circle") .attr("r", function(d) { return d.r; }) .attr("stroke-width","0.5px") .style("fill",function(d){ if(d.data.flow=='Export'){ return "rgb(255, 229, 204)" } else{ return "rgb(205, 229, 204)" } }) .style("stroke","black") .on("mouseover",function(d){ var xPosition = parseFloat(d3.select(this).attr("x")); var yPosition = parseFloat(d3.select(this).attr("y")); d3.select("#tooltip") .style("left",d.x+200+"px") .style("top",d.y+"px") .selectAll("#value") .text(d.data.commodity); d3.select("#tooltip") .selectAll("#value2") .text("Year: "+d.data.year); d3.select("#tooltip") .selectAll("#value3") .text("Flow: "+d.data.flow+" | Amount in USD: "+d.data.trade_usd+"B"); d3.select("#tooltip") .selectAll("#value4") .text("Country: "+d.data.country_or_area); d3.select("#tooltip").classed("hidden",false) }) .on("mouseout", function(d){ //Hide the tooltip d3.select("#tooltip").classed("hidden",true); }); d3.select('select') .on("change", function() { key = labels[this.selectedIndex]; d3.selectAll('circle') .style("opacity",function(d){ if(key==""){ return 1; } else if(d.data.country_or_area==key){ return 1; } else{ return 0.2; } }) }); </script> </body> </html> <style> h1{ font-family:Calibri; } .node text { display: none; font: 12px sans-serif; } .node:hover text { display: inline; } .node:hover circle { stroke: #000; stroke-width: 2px; } #tooltip{ position:absolute; width:250px; height:auto; padding:5px; background-color:white; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; pointer-events:none; border-style:solid; border-width:thin; border-color:gray; } #tooltip.hidden{ display:none; } #tooltip p{ margin:0; font-family:sans-serif; font-size:16px; line-height:20px; } #value{ font-size:15px; font-family:Calibri; font-weight:bold; color:black; } #value2{ font-size:14px; font-family:Calibri; color:gray; } #value3{ font-size:14px; font-family:Calibri; color:gray; } #value4{ font-size:14px; font-family:Calibri; color:gray; } hr{ margin-top:1px; margin-bottom:1px; } #inds{ position:absolute; top:10px; left:10px; } .custom-select { font-size: 15px; font-family:Calibri; padding: 10px 8px 10px 14px; background: #fff; border: 1px solid #ccc; border-radius: 6px; position: relative; } </style>
https://d3js.org/d3.v4.min.js