function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 13], ['Amphibian & Reptile Conservation', 6], ['Biodiversity Data Journal', 5], ['Check List', 16], ['Copeia', 5], ['Current Herpetology', 5], ['Geodiversitas', 5], ['Herpetozoa', 7], ['Laurentius Salvius', 18], ['Raffles Bulletin of Zoology', 16], ['Vertebrate Zoology', 10], ['ZooKeys', 35], ['Zoological Journal of the Linnean Society', 22], ['Zoological Science', 6], ['Zootaxa', 83], ['Other (21)', 42] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=294)', 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);