function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amphibian & Reptile Conservation', 2], ['Bulletin of the American Museum of Natural History', 1], ['Check List', 4], ['Geodiversitas', 1], ['Herpetozoa', 1], ['Journal of Vertebrate Paleontology', 1], ['Megataxa', 74], ['PeerJ', 1], ['The Trustees of British Museum', 1], ['University of Kansas Publications, Museum of Natural History', 1], ['Zoological Journal of the Linnean Society', 2], ['Zootaxa', 23] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=112)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);