function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Polonica', 4], ['African Invertebrates', 3], ['Bulletin of the American Museum of Natural History', 1], ['Canadian Entomologist', 2], ['European Journal of Taxonomy', 2], ['Far Eastern Entomologist', 16], ['Geodiversitas', 3], ['Palaeoentomology', 8], ['Public Library of Science, ONE', 1], ['ZooKeys', 24], ['Zoological Journal of the Linnean Society', 3], ['Zoological Science', 1], ['Zoological Systematics', 5], ['Zootaxa', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=82)', 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);