function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Journal of Conchology', 1], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Biodiversity Data Journal', 7], ['Iwanami Shoten', 7], ['Journal des Museum Godeffroy', 4], ['Journal of Natural History', 16], ['Molluscan research', 2], ['Papéis Avulsos de Zoologia', 3], ['Proceedings of the California Academy of Sciences, Series 4', 5], ['Proceedings of the Zoological Society of London', 1], ['Revue Suisse de Zoologie', 1], ['Veliger', 4], ['ZooKeys', 77], ['Zoological Journal of the Linnean Society', 23], ['Zootaxa', 100], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=254)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);