Sankey diagram of company financial statements
Financial statements are tables.
Easy for computers and experts. Hard for most humans.
Solution is to use visualizations to make cash flow easier to understand,
and bottlenecks easier to spot.
$ go run main.go
Database initialized.
Successfully fetched and stored data for Apple Inc.
--- Stored Financials ---
Company: Apple Inc. (CIK: 320193)
Revenue: 215639000000.00
Net Income: 99803000000.00
Operating Expenses: 51345000000.00
Cost of Goods Sold: 223546000000.00
-------------------------gvm use go1.25.1
go mod init funfunviz
go get github.com/mattn/go-sqlite3
- SEC available tickers to CIK mapping: https://www.sec.gov/include/ticker.txt