function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 8], ['Annali del Museo Civico di Storia Naturale di Genova', 1], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Check List', 7], ['Far Eastern Entomologist', 2], ['Insecta Mundi', 453], ['Journal of Natural History', 7], ['Kogane', 3], ['Papéis Avulsos de Zoologia', 5], ['Species Diversity', 3], ['The Coleopterists Bulletin', 136], ['Transactions of the Linnean Society of London', 2], ['ZooKeys', 95], ['Zoosystema', 24], ['Zootaxa', 225], ['Other (11)', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=983)', 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);