function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 2], ['Canadian Journal of Research Ottawa', 1], ['Journal of Parasitology', 1], ['Osnovy Trematodologii', 1], ['Philippine Journal of Science', 1], ['Proceedings of the United States National Museum', 2], ['Roosevelt Wild Life Annals', 1], ['The American Midland Naturalist', 1], ['Uchenye Zapiski. Gor’kovskii Gosudarstveniyi Pedagogicheskii Institut imeni M. Gor’kogo', 1], ['Zeitschrift für Parasitenkunde', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=12)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);