function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anzeiger', 5], ['Bulletin de la Societe d\'Histoire Naturelle de Toulouse', 4], ['Check List', 9], ['Copeia', 3], ['European Journal of Taxonomy', 3], ['Ichthyological Contributions of PecesCriollos', 8], ['Journal of Natural History', 19], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 4], ['Neotropical Ichthyology', 5], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 4], ['Proceedings of the Linnean Society of New South Wales', 4], ['Publications of the Field Museum of Natural History, Zoölogical', 4], ['Records of the Western Australian Museum', 4], ['Zoological Journal of the Linnean Society', 53], ['Zootaxa', 283], ['Other (45)', 67] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=479)', 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);