function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Journal of Conchology', 1], ['Archiv für Molluskenkunde', 1], ['Insecta Mundi', 1], ['Iwanami Shoten', 3], ['Journal of Species Research', 1], ['Journal of the Ceylon Branch of the Royal Asiatic Society', 3], ['Proceedings of the Boston Society of Natural History', 2], ['Proceedings of the Zoological Society of London', 6], ['Raffles Bulletin of Zoology', 5], ['Records of the Auckland Institute and Museum', 2], ['Revista de la Academia Canaria de Ciencias', 1], ['ZooKeys', 13], ['Zoological Journal of the Linnean Society', 1], ['Zoosystema', 1], ['Zootaxa', 54] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=95)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);