function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bol. Mus. Hist. Nat. " Javier Prado " Lima', 2], ['Bulletin de la Société Zoologique de France', 1], ['Check List', 1], ['Hydrobiologia', 1], ['Japanese Journal of Ichthyology', 1], ['Journal of Natural History', 1], ['Nederlandsch Tijdschrift voor de Dierkunde', 1], ['Raffles Bulletin of Zoology', 1], ['Report of the British Association for the Advancement of Science', 1], ['Revue Zoologique Africaine', 1], ['Smithsonian Miscellaneous Collections', 1], ['The Beagle. Records of the Museums and Art Galleries of the Northern Territory', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=13)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);