function drawTotalTopCategories() {var data = new google.visualization.DataTable();data.addColumn('string','Category');data.addColumn('number','Recalls');data.addRows([['Toys',620],['Clothing,textiles and fash...',608],['Motor vehicles',213],['Electrical appliances',208],['Lighting equipment',116],['Cosmetics',87],['Childcare articles and chil...',75],['Hobby/sports equipment',48],['Lighters',46],['Food-imitating products',46],['Chemical products',41],['Other',29],['Protective equipment',24],['Furniture',21],['Laser pointers',19],['Decorative articles',16],['Machinery',14],['Kitchen/cooking accessories',13],['Communication and media equ...',11],['Gas appliances',10],['Jewellery',9],['Gadgets',8],['Recreational crafts',4],['Unknown',4],['Stationery',2],['Hand tools',2]]);var chart = new google.visualization.PieChart(document.getElementById('total_top_categories'));chart.draw(data,{width:750,height:300,is3D:true,pieJoinAngle:10,legendFontSize:11,backgroundColor:{stroke:'white',fill:'#F3F0E7',strokeSize:0},tooltipFontSize:12  });}function drawTotalTopReportingCountries() {var data = new google.visualization.DataTable();data.addColumn('string','Country');data.addColumn('number','Recalls');data.addRows([['Germany',252],['Spain',237],['Bulgaria',236],['Cyprus',194],['Hungary',162],['Greece',150],['France',141],['Poland',134],['United Kingdom',132],['Finland',95],['Slovakia',80],['Netherlands',78],['Italy',64],['Portugal',48],['Lithuania',36],['Austria',33],['Denmark',32],['Sweden',29],['Malta',25],['Latvia',22],['Norway',21],['Estonia',20],['Czech Republic',19],['Belgium',15],['Ireland',12],['Slovenia',10],['Romania',7],['Luxembourg',2],['Unknown',8]]);var chart = new google.visualization.PieChart(document.getElementById('total_top_reporting_countries'));chart.draw(data,{width:750,height:300,is3D:true,pieJoinAngle:10,legendFontSize:11,backgroundColor:{stroke:'white',fill:'#F3F0E7',strokeSize:0},tooltipFontSize:12  });}function drawTotalTopOrigin() {var data = new google.visualization.DataTable();data.addColumn('string','Country');data.addColumn('number','Recalls');data.addRows([['China',1341],['Unknown',176],['Turkey',93],['Germany',92],['Italy',80],['United States',42],['France',42],['India',35],['Taiwan',29],['Spain',27],['Japan',25],['United Kingdom',24],['Bulgaria',22],['Sweden',21],['Czech Republic',17],['Belgium',13],['Malaysia',12],['Vietnam',11],['Korea',8],['Ivory Coast',8],['Canada',7],['Bangladesh',7],['Denmark',6],['Hungary',6],['Greece',6],['Austria',6],['Portugal',6],['Ukraine',5],['Pakistan',5],['Sri Lanka',4],['Indonesia',4],['Slovakia',3],['Romania',3],['Russia',3],['Philippines',3],['Mexico',3],['Latvia',2],['Unites States',2],['Cyprus',1],['Egypt',1],['1 to 4. United States, 5. Canada, 6. Australia',1],['Lithuania',1],['Nigeria',1],['Tunisia',1],['Morocco',1],['Syria',1],['Argentina',1],['Italy  No picure available',1],['ItalyNo picture available',1],['Norway',1],['Brazil',1],['Israel',1],['Monaco',1],['Hungary5 pictures,0 test report',1],['Hong Kong',1],['Estonia',1],['Guatemala',1],['South Korea',1],['China.',1],['1. China; 2. Vietnam.',1],['Slovenia',1],['Multiple Countries',14]]);var chart = new google.visualization.PieChart(document.getElementById('total_top_origin'));chart.draw(data,{width:750,height:300,is3D:true,pieJoinAngle:5,legendFontSize:11,backgroundColor:{stroke:'white',fill:'#F3F0E7',strokeSize:0},tooltipFontSize:12  });}function drawTotalTopDanger() {var data = new google.visualization.DataTable();data.addColumn('string','Danger');data.addColumn('number','Recalls');data.addRows([['Chemical',515],['Injuries',444],['Choking',257],['Strangulation',246],['Electric shock',231],['Fire',101],['Burns',50],['Strangulation and injuries',45],['Burns and fire',41],['Damage to sight',39],['Electric shock and fire',37],['Damage to hearing',33],['Choking and injuries',29],['Suffocation',28],['Microbiological',22],['',15],['Choking and strangulation',14],['Fire and burns',13],['Drowning',12],['Fire and electric shock',12],['Injuries and strangulation',10],['Cuts',10],['Choking and chemical',9],['Injuries and choking',5],['Choking and suffocation',5],['Cuts and injuries',4],['Unknown',4],['Strangulation and choking',4],['Choking and cuts',3],['Suffocation and injuries',3],['Damage to hearing and choking',3],['Burns and injuries',3],['Electric shock and injuries',2],['Choking and damage to sight',2],['Electric shock and burns',2],['Choking and damage to hearing',2],['Injuries and cuts',2],['Injuries and suffocation',2],['Chemical and damage to sight',2],['Injuries and burns',2],['Chemical and burns',2],['Burns and choking',1],['Burns,fire and choking',1],['Health risk /other',1],['Cuts,suffocation and chemical',1],['Injuries,burns and choking',1],['Chemical and fire',1],['Injuries and fire',1],['Chemical and injuries',1],['Burns and Electric shock',1],['Damage to hearing and injuries',1],['Chemical and choking',1],['Cuts and choking',1],['Suffocation and strangulation',1],['Burns,fire and injuries',1],['Choking,chemical and injuries',1],['Choking and burns',1],['Fire and chemical',1],['Injuries,choking and chemical',1],['Damage to hearing and chemical',1],['Electrical shock',1],['Suffocation and burns',1],['Health risk and choking',1],['Injuries and chemical',1],['Fire,burns and injuries',1],['Chemical and suffocation',1],['Damage to sight and injuries',1],['Injuries,fire and burns',1],['Strangulation and chemical',1],['Electric shock,burns and fire',1]]);var chart = new google.visualization.PieChart(document.getElementById('total_top_danger'));chart.draw(data,{width:750,height:300,is3D:true,pieJoinAngle:5,legendFontSize:11,backgroundColor:{stroke:'white',fill:'#F3F0E7',strokeSize:0},tooltipFontSize:12  });}google.load('visualization','1',{packages:['piechart']});google.setOnLoadCallback(drawTotalTopCategories);google.setOnLoadCallback(drawTotalTopReportingCountries);google.setOnLoadCallback(drawTotalTopOrigin);google.setOnLoadCallback(drawTotalTopDanger);