function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amphibian & Reptile Conservation', 5], ['Biodiversity Data Journal', 8], ['Fossil Record', 4], ['Geodiversitas', 24], ['Herpetozoa', 8], ['Journal of Natural History', 4], ['Kungliga Svenska Vetenskapsakademiens Handlingar', 2], ['Laurentius Salvius', 44], ['Panckoucke', 3], ['Proceedings of the California Academy of Sciences', 5], ['Zoologica Scripta', 9], ['Zoological Journal of the Linnean Society', 9], ['Zoosystema', 15], ['Zoosystematics and Evolution', 3], ['Zootaxa', 196], ['Other (11)', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=351)', 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);