I have used a library called StockJS with C3 in the past to visualize stock data across a time series, I think it can pull current data and also historical data (not sure what the delay is on the current data) , github.com/wagenaartje/stocks.js you would need to request an API key, by following the instructions on the github page. the library is pretty much a wrapper around alphavantage.co API
Here is an example project
drive.google.com/file/d/1vW3EZRUP3nqfSpmusaQHOUgpMFVKcT7i/view
in order for the project to work you need to add the the API KEY in the script.js file
also the project uses great addons from github.com/el3um4s/construct-plugins-and-addons for html/css manipulation