From the course: D3.js Essential Training for Data Scientists

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Time series

Time series - D3.js Tutorial

From the course: D3.js Essential Training for Data Scientists

Start my 1-month free trial

Time series

- [Narrator] When presented with a data set, the first question is always, do you have a time series, and do you want to show it? If the answer is yes, the next question is, what type of data do you want to show over time? Is it numeric, geographic, or text? We're going to cover geographic and text data in the next sections, but if it's numeric data, you can ask yourself some more questions to help narrow down the appropriate charts. The first is, whether your time periods are continuous or discrete. An example of discrete data would be a closing price, where the price has actually been changing all day long, or a snapshot of turnover for a company, taken on just the first day of the month. Let's say turnover is 100 on the first of August, and 120 on the first of September. To show that as a line chart would be an upward sloping line with two points. But actually there were 30 data points here, and you're just showing two of them. Turnover on August the second, August the third, and…

Contents