function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Beiträge Zur Entomologie = Contributions to Entomology', 1], ['Biodiversity Data Journal', 6], ['Biologia Centrali-Americana', 1], ['Deutsche Entomologische Zeitschrift', 2], ['Entomologisk Tidskrift', 1], ['Far Eastern Entomologist', 1], ['Insecta Mundi', 2], ['J. Murray', 1], ['Journal of Insect Science', 3], ['Journal of Natural History', 36], ['List of the Specimens of Lepidopterous Insects in the Collection of the British Museum', 20], ['Nota Lepidopterologica', 1], ['ZooKeys', 43], ['Zoological Systematics', 4], ['Zootaxa', 130], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=253)', 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);