function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 2], ['Bulletin of Marine Science', 3], ['Copeia', 3], ['Japanese Journal of Ichthyology', 3], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 2], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 2], ['Notulae Naturae', 3], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Proceedings of the Linnean Society of New South Wales', 3], ['Proceedings of the United States National Museum, 3', 6], ['Records of the Australian Museum', 14], ['Revista de Biologia Tropical', 4], ['Revue française d\'Aquariologie Herpétologie', 2], ['ZooKeys', 7], ['Zootaxa', 19], ['Other (20)', 20] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=95)', 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);