function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amphibian & Reptile Conservation', 2], ['Biodiversity Data Journal', 1], ['Bulletin of the American Museum of Natural History', 3], ['Check List', 11], ['Comparative Cytogenetics', 3], ['Copeia', 1], ['Journal of Natural History', 2], ['Krieger', 2], ['Novitates Caribaea', 8], ['Vertebrate Zoology', 6], ['ZooKeys', 1], ['Zoological Journal of the Linnean Society', 4], ['Zootaxa', 88] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=132)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);