Add custom chart script and docs

This commit is contained in:
thePR0M3TH3AN committed 2025-05-31 07:11:07 -04:00
1 parent a3d9f1966b
commit 47700e9304
4 files changed
+145 -3

No files matched your search

+17
View File
@@ -80,6 +80,23 @@ requested period before rendering the chart.
| `--end` | End date (YYYY-MM-DD) |
| `--extend-years` | Years to extend the x-axis beyond the end date |
## Custom Charts
Plot any combination of FRED series stored in `data/fred.db` using
`scripts/custom_chart.py`.
```bash
# Example: unemployment and oil
./startup.sh python scripts/custom_chart.py \
--series UNRATE DCOILWTICO --start 2000-01-01 --end 2020-12-31
```
The same invocation is available via Make:
```bash
make plot-custom ARGS="--series UNRATE DCOILWTICO --start 2000-01-01 --end 2020-12-31"
```
---
## 📝 Details