function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['European Journal of Taxonomy', 4], ['Freshwater biology', 1], ['Journal of Natural History', 30], ['NIWA', 5], ['Occasional Papers of the Bernice P. Bishop Museum', 1], ['Proceedings of the Linnean Society of London', 1], ['Proceedings of the Zoological Society of London', 1], ['Species Diversity', 19], ['ZooKeys', 23], ['Zoological Journal of the Linnean Society', 5], ['Zoological Science', 3], ['Zoologische Jahrbuecher Abteilungen für Systematik', 2], ['Zoologischer Anzeiger', 4], ['Zootaxa', 23] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=123)', 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);