function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 13], ['Biodiversity Data Journal', 1], ['European Journal of Taxonomy', 1], ['Iwanami Shoten', 8], ['Journal of Natural History', 2], ['New Zealand Journal of Zoology', 1], ['Papéis Avulsos de Zoologia', 2], ['Proceedings of the Malacological Society of London', 1], ['Records of the Western Australian Museum', 2], ['Revue Suisse de Zoologie', 2], ['The Veliger', 3], ['ZooKeys', 9], ['Zoological Journal of the Linnean Society', 2], ['Zootaxa', 40] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=87)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);