function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Fauna of Saudi Arabia', 1], ['Ichthyological Research', 1], ['Japanese Journal of Ichthyology', 1], ['Journal of Experimental Zoology, India', 1], ['Proceedings of the United States National Museum, 3', 2], ['Raffles Bulletin of Zoology', 3], ['Reports of the Usa Marine Biological Station', 1], ['Revue française d\'Aquariologie Herpétologie', 1], ['Schweizerbart', 2], ['Smithiana Bulletin', 2], ['ZooKeys', 1], ['Zootaxa', 92] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=108)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);