function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Aqua, Journal of Ichthyology and Aquatic Biology', 1], ['Arquivos do Museu Nacional Rio de Janeiro', 1], ['Australian zoologist', 3], ['Bol. Inst. Oceanogr. S. Paulo', 2], ['European Journal of Taxonomy', 4], ['Ichthyological Bulletin of the J. L. B. Smith Institute of Ichthyology', 2], ['Laurentius Salvius', 2], ['Memoirs of the Queensland Museum', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Proceedings of the Linnean Society of New South Wales', 4], ['Proceedings of the United States National Museum, 3', 3], ['Records of the Australian Museum', 3], ['Records of the Western Australian Museum', 5], ['Zootaxa', 31], ['Other (11)', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=77)', 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);