Visualizations of Federal Reserve Economic Data using the D3.js visualization library. Specifically, a look into the tags API. I investigate with 2 types of D3 visualizations:
- A force-directed graph layout that connects tags together which are related according to the api.
- A bubble chart that gives a sense of how popular certain tags are among data sets.
The web app doesn't make live API calls to avoid complexity over securing the API key. Instead, I store a copy of the data locally.
tags.jsonis populated with data from http://api.stlouisfed.org/fred/tags?api_key=abcdefghijklmnopqrstuvwxyz123456&file_type=jsontags_graph.jsonis a processed version oftags.json. It runs with Node.js. To createtags_graph.json, run the following inside the directory:npm installnode preprocess.js