From the course: Code Clinic: JavaScript
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Intro: The weather at Pond Oreille - JavaScript Tutorial
From the course: Code Clinic: JavaScript
Intro: The weather at Pond Oreille
- Hello, and welcome to the first problem in the Code Clinic series. This problem is about calculating statistics from a data set. It's easy stuff, but presents a good example of how different languages accomplish common tasks. Our authors will start with weather data captured from lake Pend Oreille in Northern Idaho. We have almost 20 megabytes of data from the years 2012 through 2015. That data is available in the folder with other exercise files. Each observation in the data includes several variables: date, time, air temperature, barometric pressure, dew point, and others. And the data is straightforward. Likewise, the problem is simple. Write a function that accepts a beginning date and time, and an ending date and time, inclusive of those dates and times. Return the coefficient of the slope of the barometric pressure. A rising slope indicates an increasing barometric pressure, which typically means fair and sunny weather ahead. A falling slope indicates a decreasing barometric…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Intro: The weather at Pond Oreille1m 51s
-
Solution overview2m 20s
-
Accessing the MySQL database7m 13s
-
Reading data with fetch()4m 17s
-
Passing information to our database2m 56s
-
Charting basic data with C3.js5m 42s
-
Plotting multiple graphs9m 28s
-
Customizing the chart display4m 32s
-
Controlling the interface9m 30s
-
-
-
-
-
-