function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 2], ['Amphibia-Reptilia', 2], ['Amphibian & Reptile Conservation', 3], ['Biodiversity Data Journal', 4], ['Check List', 10], ['Current Herpetology', 2], ['European Journal of Taxonomy', 8], ['Herpetozoa', 5], ['Journal of Natural History', 3], ['Journal of Threatened Taxa', 10], ['Raffles Bulletin of Zoology', 9], ['ZooKeys', 28], ['Zoological Journal of the Linnean Society', 48], ['Zoological Science', 5], ['Zootaxa', 88], ['Other (9)', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=238)', 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);