Community Health Survey Results

Added on: Mar 12, 2025
User Prompt

Powered by LiveChatAI

google.charts.load('current', {'packages':['bar']});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Category', 'People'],
['Community Duration: Less than 1 year', 8],
['Community Duration: 1-5 years', 15],
['Community Duration: 6-10 years', 10],
['Community Duration: Over 10 years', 7],
['Live within 1 mile of factory: Yes', 25],
['Live within 1 mile of factory: No', 15],
['Symptoms: Coughing', 20],
['Symptoms: Shortness of breath', 15],
['Symptoms: Frequent throat irritation', 12],
['Symptoms: Eyes irritating', 10],
['Symptoms: Other', 5],
['Respiratory Condition: Asthma', 10],
['Respiratory Condition: Bronchitis', 6],
['Respiratory Condition: Sleep Apnea', 7],
['Respiratory Condition: Sinus', 8],
['Respiratory Condition: Other', 4],
['Condition Duration: Less than 6 months', 5],
['Condition Duration: 6 months – 1 year', 8],
['Condition Duration: 1-5 years', 12],
['Condition Duration: Over 5 years', 15],
['Condition Duration: Never', 0],
['Emissions Contribution: Yes', 30],
['Emissions Contribution: No', 8],
['Emissions Contribution: Not sure', 2],
['Chemical Smell: Often', 15],
['Chemical Smell: Occasionally', 15],
['Chemical Smell: Never', 8],
['Chemical Smell: Not sure', 2],
['Ammonia Awareness: Yes', 20],
['Ammonia Awareness: No', 20],
['Effect of Living Close: Yes', 30],
['Effect of Living Close: No', 5],
['Effect of Living Close: Not sure', 5]
]);
var options = {
chart: {
title: 'Community Health Survey Results',
subtitle: 'Responses from the Community Survey'
},
bars: 'horizontal' // Required for Material Bar Charts.
};
var chart = new google.charts.Bar(document.getElementById('chart_div'));
chart.draw(data, google.charts.Bar.convertOptions(options));
}