function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of Marine Science', 1], ['Current Science', 1], ['Cybium', 1], ['Israel Journal of Zoology', 1], ['Journal of the Marine Biological Association of India', 1], ['Journal of the Tokyo University of Fisheries', 1], ['Journal of the Zoological Society of India', 2], ['Mahasagar -- Bulletin of the National Institute of Oceanography', 1], ['Notes from the Leyden Museum', 1], ['Proceedings of the Biological Society of Washington', 3], ['Proefschrift', 1], ['Publications of the Field Museum of Natural History, Zoölogical', 1], ['Temminckia, Leiden', 1], ['Zootaxa', 14] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=30)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);