function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 2], ['Amphibian & Reptile Conservation', 2], ['An International Journal of Paleobiology', 1], ['Bulletin of the American Museum of Natural History', 16], ['Fossil Record', 5], ['Geodiversitas', 22], ['Herpetologica', 1], ['Herpetozoa', 2], ['Ichthyology & Herpetology', 1], ['Isis von Oken', 1], ['Joan Thomae', 7], ['Laurentius Salvius', 13], ['Magasin Encyclopédique, ou Journal des Sciences, des Lettres et des Arts', 1], ['Vertebrate Zoology', 1], ['Zootaxa', 24], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=100)', 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);