function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Buletinul ºtiinþific al Muzeului Naþional de Etnografie ºi Istorie Naturalã a Moldovei', 1], ['Contributions to Zoology', 5], ['Fundam. appl. Nematol.', 1], ['Journal of Plant Protection', 1], ['Pakistan Journal of Nematology', 3], ['ZooKeys', 18], ['Zoological Journal of the Linnean Society', 5], ['Zoosystematics and Evolution', 3], ['Zootaxa', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=47)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);