Hi guys, i need help with this programming, can someone help me to find the solution. thanks Weather Data Graph The following data can be found in part of a large text file on the UK Meterological Office site at http://www.metoffice.com/climate/uk/stationdata/bradforddata.txt and it gives some recorded observations for this area for the year 2005. yyyy mm tmax tmin rain sun degC degC mm hours 2005 1 8.8 3.0 84.8 34.7 2005 2 6.7 1.9 51.6 68.9 2005 3 9.7 4.1 22.9 65.1 2005 4 12.4 4.4 96.7 130.2 2005 5 15.2 6.6 37.8 208.6 2005 6 19.3 10.7 35.8 172.8 2005 7 20.3 12.5 65.2 155.0 2005 8 20.1 11.6 47.5 168.6 2005 9 18.3 10.6 66.4 134.4 2005 10 15.1 9.9 103.8 52.7 2005 11 9.4 2.9 59.8 94.5 2005 12 7.2 1.3 53.8 41.5 Your task is to create a program that will accept some of this data, input by the user, and to produce a graph that is suitably formatted. Do you understand the problem? Can you draw such a graph on paper? What decisions do you have to make? If you are not sure, get a pencil and paper and do it now. What do you need to know to solve the problem? How big is the screen area? How will you make the graph fit the area? What input do you need? - letters for the months and the data at least How will you draw the graph? What graphical functions are needed? You'll almost certainly use one or more loops in the code - how will you use the loops to do the drawing? How will you test the program? This one is fairly easy - pick a column of data and make sure you know what the graph should look like. The "Sunshine Hours" has been done for you. What input and output is needed? You can limit input to a month letter and data item. Output is the graph Remember: K.I.S.S. Begin simply and refine your solution. // Ex5-1: Weather Data Graph var canvas; canvas = openGraphics(); //You may have to decide where this is best placed canvas.paint();
Smells like you want use to do your homework. I'm not even sure what exactly you want to do, or if this is possible with Javascript...