Skip to main content

Embedding FRED Graphs on Your Website or Blog

One of the best features of our new FRED graphs is the ability to easily embed them in your own blog or website. The embedded graphs even retain the interactive tooltips and zoom capability! It takes just 3 easy steps.

STEP 1

Customize your graph as you normally would using the options below the graph by clicking on the “Share Links” button. Click on the “Embed in website” option.

 

embedding_graph_website1

STEP 2

After clicking on “Embed in website,” a pop-up window will appear with options for your graph. If you have the latest observation on your graph, you will receive options based on the time range of your graph. You are given three options for the date range: a rolling window of the same length, a sample always starting at your chosen date and ending with the most recent data point, or the exact date range the graph shows. If your time range does not include the most recent observation, you will not have options as illustrated by the second image. Clicking on the copy icon next to the red arrow will copy the link used for embedding your graph. After copying the link, click the “Done” button.

embedding_graph_website2

embedding_graph_website3

STEP 3

Paste the code into the HTML of your site…and voilà!

There’s another way to control the date range displayed in the graph as time passes. Once you save a graph to your account, you are given three options for the date range: a rolling window of the same length, a sample always starting at your chosen date and ending with the most recent data point, or the exact date range the graph shows at the time you saved it.

Posted in Frequently Asked Questions, How can I share my FRED graph?
FRED Economic Data | St. Louis Fed


Subscribe to our newsletter


Follow us

Twitter logo Google Plus logo Facebook logo YouTube logo LinkedIn logo
Back to Top