diff --git a/src/lib/components/RatingsChart.svelte b/src/lib/components/RatingsChart.svelte index 217095f4..16233e1d 100644 --- a/src/lib/components/RatingsChart.svelte +++ b/src/lib/components/RatingsChart.svelte @@ -1,25 +1,98 @@ -
- - -
-
-
+ {#if isLoaded && optionsData !== null} +
+

-
-
-

- Economic Indicators -

-
- - {#if isLoaded} -
- - Real-time and historical data on key economic indicators like GDP, - unemployment, and inflation, essential for tracking economic performance - and growth trends. -
- -
-

- Federal Fund Rate -

- -
- The federal funds rate is the interest rate at which banks lend - to each other overnight to maintain reserve balances. It's a - critical tool for U.S. monetary policy, influencing borrowing - costs for consumers and businesses, economic growth, and - inflation. Changes in the federal funds rate affect everything - from loan interest rates to stock market performance, making it - a key indicator of economic health. -
- - -
- -
-
- -

- Consumer Price Index (CPI) -

- -
- The CPI measures the average change in prices for a typical - basket of goods. It's key for tracking inflation, affecting - interest rates, wages, and business decisions. Rising CPI - indicates inflation, impacting purchasing power and the overall - economy. -
- - -
- -
-
- -

- Gross Domestic Product (GDP) -

- -
- The GDP measures a country's economic performance, representing - the total value of all goods and services produced within a - specific period. It's a key indicator of economic health, used - to compare the economic output of different nations and track - growth or decline over time. -
- - -
- -
-
- -

- Unemployment Rate vs Inflation Rate -

- -
- The unemployment rate measures the jobless percentage in the - labor force, impacting spending and growth. Low unemployment - boosts wages and activity, while high unemployment slows them. - The inflation rate tracks price increases, with moderate - inflation (~2%) being healthy. These rates are often inversely - related and crucial for economic stability, influencing - spending, savings, and investment. -
- - -
- -
-
- -

- Treasury Rates -

- -
- Treasury rates are the interest rates that the US government - pays on its debt obligations, and they are a key benchmark for - interest rates across the economy. -
- -
-
- -
-
- -
- -
-
- -
- {#each tabs as item, i} - - {/each} -
- -
- - - - - - - - - - - - - - - - - - - - {#each tableList as item} - - - - - - - - - - - - - - - - - {/each} - -
Date1-Month2-Month3-Month6-Month1-Year2-Year3-Year5-Year7-Year10-Year20-Year30-Year
- {item?.date} - - {item?.month1} - - {item?.month2 !== null ? item?.month2 : "-"} - - {item?.month3} - - {item?.month6} - - {item?.year1} - - {item?.year2} - - {item?.year3} - - {item?.year5} - - {item?.year7} - - {item?.year10} - - {item?.year20} - - {item?.year30} -
-
-
- {:else} -
-
- -
-
- {/if} -
- + {symbol} - {numOfRatings} Ratings +

+ +
+ {:else} +
+
+
-
-
+ {/if} +