function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Copeia', 20], ['European Journal of Taxonomy', 9], ['F. Schoell', 7], ['Japanese Journal of Ichthyology', 4], ['Journal of Fish Biology', 6], ['Journal of Natural History', 3], ['Proceedings of the California Zoological Club', 6], ['Proceedings of the Linnean Society of New South Wales', 4], ['Proceedings of the United States National Museum, 3', 7], ['Records of the Australian Museum', 7], ['Records of the Western Australian Museum', 4], ['Smithsonian Contributions to Zoology', 6], ['Stanford Ichthyological Bulletin', 16], ['ZooKeys', 7], ['Zootaxa', 60], ['Other (51)', 66] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=232)', 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);