function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['F. A. Brockhaus', 2], ['Proceedings of the Boston Society of Natural History', 2], ['Proceedings of the Zoological Society of London', 6], ['Reeve & Benham', 1], ['Revue suisse de Zoologie', 56], ['The American Journal of Science and Arts, Series 2', 1], ['The Journal of the Asiatic Society of Bengal', 1], ['Wolfgang Gerle', 1], ['ZooKeys', 453], ['Zootaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=527)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);