devpunks / blackhistory.io

Black History Project
2 stars 0 forks source link

Black & Red Chart #1

Closed snuggs closed 6 years ago

snuggs commented 6 years ago
snuggs commented 6 years ago

@soulmutbuttas we need to find a lightweight javascript charting system. Many use heavyweight libraries like one called D3.js but it's so damn complex and not worth the sluggish ass 3G network latency (nor bandwidth cost for higher).

References

https://d3js.org

snuggs commented 6 years ago

@soulmutbuttas EUREKA!

https://developers.google.com/chart/

Other open source options. They should have some examples on the site or i'd leave immediately. (TL;DR; Too Long; Didn't Read;)

https://github.com/zingchart/awesome-charting#free-and-open-source-libraries

scottmacdowell commented 6 years ago

If the client is going to be written in React, I would suggest using

ReCharts https://github.com/recharts/recharts

(D3 based)

snuggs commented 6 years ago

@soulmutbuttas EUREKA! Found ALL historic data by the day. http://www.ic.unicamp.br/~stolfi/temp/2015-02-10-refprice-01d.txt

However we have to extrapolate what we say the "day price" is from the following values: Open, High, Low, Close

Gotta do a little math with this one. Thoughts?

For example capture d ecran 2018-02-10 a 15 23 02

snuggs commented 6 years ago

@scottmacdowell @soulmutbuttas @lafetaylor2 We have a section for "Historic Price" header. I was thinking perhaps can CLICK to link to one of the following... What we need to determine is which one of the following two does the header link to?

Historical Price vs. Historical Cost

My first assumption would be PRICE as COST is for expense. Sometimes you're selling so that would be revenue. Cost sounds weird if this is more historical accounting than finance.

Thoughts? capture d ecran 2018-02-11 a 00 44 04

snuggs commented 6 years ago

@soulmutbuttas on second thought I think Historical Price is better suited for market price and Historical Cost better suited for personal transactions.