function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anzeiger', 1], ['Biodiversity Data Journal', 1], ['Biol. Cent. - Amer.', 1], ['Bulletin of the United States Fish Commission', 1], ['Bulletin of the United States National Museum', 1], ['Check List', 4], ['Copeia', 2], ['Ichthyological Research', 1], ['Longman’s', 1], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 3], ['Natuurkundige Verhandelingen van de Hollandsche Maatschappij der Wetenschappen te Haarlem, Series 2', 2], ['Proceedings of the Linnean Society of New South Wales', 3], ['Proceedings of the Zoological Society of London, B', 2], ['Schweizerbart', 1], ['Zootaxa', 17], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=43)', 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);