function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 102], ['Bulletin of Entomological Research', 8], ['Contributions to Zoology', 1], ['Insectenboerse', 1], ['John Bale, Sons & Danielsson, Ltd.', 2], ['Journal Of The Washington Academy Of Sciences', 1], ['Journal of Natural History', 1], ['Proceedings of the Biological Society of Washington', 1], ['Wiedemann', 1], ['Zoological Journal of the Linnean Society', 2], ['Zoosystematica Rossica', 5], ['Zootaxa', 87] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=212)', 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);