Skip to main content

Line graph with many data points (time based)

  • July 4, 2020
  • 1 reply
  • 24 views

I’m trying to replicate this chart Block from this example here

I don’t understand how this stock example was made, do they have a table containing all the stock data at different times? What would that table look like? I understand they would have a table for all the listings, but how would those listings all be linked to hundreds of price data points at different times?

Does anyone have an example of this?

This topic has been closed for replies.

1 reply

Forum|alt.badge.img+4
  • Inspiring
  • July 4, 2020

The table for that example looks like this:

Date    Ticker    Price
Jan 1    MSFT     $50.00
Jan 1    AMZN     $40.00
Jan 1    IBM      $20.00
Jan 1    AAPL     $55.00
Jan 2    MSFT     $51.00
Jan 2    AMZN     $38.00
Jan 2    IBM      $20.50
Jan 2    AAPL     $55.00
...