function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the National Science Museum, Series A (Zoology)', 3], ['Crustaceana', 1], ['Journal of Natural History', 3], ['Nova Guinea, new ser.', 2], ['Records of the Australian Museum', 22], ['Revue de Biologie. Académie de la République Populaire Roumaine', 2], ['Species Diversity', 1], ['ZooKeys', 2], ['Zootaxa', 84] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=120)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);