function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 2], ['Cladistics: the international journal of the Willi Hennig Society', 5], ['Iwanami Shoten', 2], ['Journal of Natural History', 7], ['Journal of molluscan studies', 1], ['Journal of the Ceylon Branch of the Royal Asiatic Society', 1], ['Proceedings of the Zoological Society of London', 2], ['Veliger', 7], ['Vita malacologica', 2], ['ZooKeys', 32], ['Zoological Journal of the Linnean Society', 8], ['Zoosystema', 4], ['Zootaxa', 25] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=98)', 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);