function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 10], ['Bulletin B P Bishop Mus', 1], ['C. Reichard', 2], ['Carolum Reichard', 2], ['Entomological news', 1], ['European Journal of Taxonomy', 4], ['Insecta Mundi', 7], ['Insects of Guam I', 2], ['Journal of Natural History', 2], ['Linzer biologische Beiträge', 2], ['Proceedings of the Hawaiian Entomological Society', 2], ['Raffles Bulletin of Zoology', 7], ['ZooKeys', 4], ['Zoodiversity', 6], ['Zootaxa', 86], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=142)', 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);