jedistar
asked on
Reading/Searching from a CSV file and displaying results in Graphs
I have some survey questions to be stored in a CSV file.
eg: Q: How many people live in Australia, Ans: 8398493893
eg: Q: How many people live in New Zealand, Ans: 849589458
How do i store them inside a CSV file, read / search and allow
a user to choose which question to display the result into a Graph?
help appreciated!
eg: Q: How many people live in Australia, Ans: 8398493893
eg: Q: How many people live in New Zealand, Ans: 849589458
How do i store them inside a CSV file, read / search and allow
a user to choose which question to display the result into a Graph?
help appreciated!
ASKER
i would like to know do i code the above, need examples. thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi jedistar,
R u already have the count of each country population,
the population that we have to put in a file?
When we want any country population,the perl code has to display the count?
Hope the below example helps u:
i.e., %count = ( "aus",1234,"NZ",5678,..... );
foreach $key (keys %count) {
print "The people live in $key country is $count{$key}\n";
}
i guessed the question and answered it,
Cheers!
Suhas
R u already have the count of each country population,
the population that we have to put in a file?
When we want any country population,the perl code has to display the count?
Hope the below example helps u:
i.e., %count = ( "aus",1234,"NZ",5678,.....
foreach $key (keys %count) {
print "The people live in $key country is $count{$key}\n";
}
i guessed the question and answered it,
Cheers!
Suhas
Dave...