function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 3], ['Biodiversity Data Journal', 2], ['Caucasian Entomological Bulletin', 1], ['Check List', 13], ['Fossil Record', 1], ['Graellsia', 1], ['Insecta Mundi', 12], ['Johann Jacob Gebauer', 1], ['Journal and Proceedings of the Linnean Society of London, Zoology', 3], ['Journal of Natural History', 1], ['Turkish Journal of Zoology', 1], ['ZooKeys', 13], ['Zoological Journal of the Linnean Society', 6], ['Zoological Systematics', 2], ['Zootaxa', 169] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=229)', 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);