function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Australian Journal of Zoology, Supplementary Series', 6], ['Beaufortia', 4], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['Records of the Canterbury Museum', 1], ['Transactions of the Royal Society of New Zealand', 4], ['ZooKeys', 5], ['Zoological Journal of the Linnean Society', 4], ['Zoological Science', 1], ['Zoological Systematics', 2], ['Zoosystematics and Evolution', 2], ['Zootaxa', 30] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=60)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);