function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 5], ['Amphibian & Reptile Conservation', 2], ['Annales du Museum National d\'Historie Naturelle, Paris', 1], ['Australasian Journal of Herpetology', 2], ['Bulletin of the American Museum of Natural History', 2], ['Copeia', 2], ['Geodiversitas', 4], ['Geological Survey of Canada Contributions to Canadian Palaeontology', 1], ['Joan Thomae', 1], ['Journal of Vertebrate Paleontology', 2], ['Nature Communications', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['ZooKeys', 2], ['Zoological Journal of the Linnean Society', 14], ['Zootaxa', 11], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=54)', 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);