function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Biodiversity Data Journal', 6], ['Bronner', 1], ['Bulletin du Muséum National d’Histoire Naturelle, Série 2', 1], ['Department of Ichthyology, Rhodes University', 1], ['Indo-Pacific Fishes', 3], ['Journal of the Academy of Natural Sciences of Philadelphia, Second Series', 1], ['Marine Investigations in South Africa', 1], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 2], ['Rec. Albany Mus. Grahamstown', 1], ['Schweizerbart', 1], ['The Journal of the Indian Archipelago and Eastern Asia', 1], ['Verslagen en Mededeelingen der Koninklijke Akademie van Wetenschappen. Afdeeling Natuurkunde', 1], ['Zootaxa', 20], ['aqua, International Journal of Ichthyology', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=42)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);