bapinney / fcc-bp-chartsm Goto Github PK
View Code? Open in Web Editor NEWfreeCodeCamp - Chart the Stock Market
freeCodeCamp - Chart the Stock Market
If a stock symbol has already been added, the app lets the end-user add it again, making it show up twice (or more). The app should not let a stock symbol be added again if it is already added.
Added symbols show a yellow clock for pending data and a green checkmark for downloaded data. However, if data is queried for a stock and returns nothing, the pending symbol remains. This remains true for invalid/dubious entries. A red x (or something similar) should be shown for queried data that returned no results.
It will need to iterate across all objects in every array. This is because if we have multiple stock symbols added, we will not know the entire domain by iterating across only one of the stocks.
A new version of D3 (v4.0) was just released a few days ago. It has some new features that may be useful for this project.
WebSockets needs to be used to provide real-time data on when stocks are added or removed by end-users. It does NOT need to be used to provide real-time stock quote updates. The only real-time element is showing all end-users when one of them adds or removes stocks to track from the main page.
Fetch Data and Draw Chart buttons have accesskey attributes, but Add Stock does not.
There's probably a jQuery function we could easily call that could do this for us. It needs to run when a stock gets added and when a stock gets removed.
Currently, events get emitted through WebSockets when someone adds or removes a stock. But if someone views the page after a 'stockadd' event had been emitted, that viewer will not see that added stock. Thus, whenever a stock is added or removed, that record should be updated in a MongoDB document so new clients can mirror it when they open the page.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.