function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the American Museum of Natural History', 3], ['Current Biology', 2], ['Fossil Record', 1], ['Geodiversitas', 2], ['Historical Biology', 2], ['Japanese Journal of Ichthyology', 1], ['Journal of Vertebrate Paleontology', 1], ['Proceedings of the United States National Museum, 3', 2], ['Public Library of Science, ONE', 1], ['Revue de Paléobiologie', 1], ['ZooKeys', 38], ['Zoological Journal of the Linnean Society', 5], ['Zootaxa', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=64)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);