This is a simple app that displays a graph of population of a given country since 1950. In the back there is serverside caching allowing minimal fetches to the API providing population data. There are some bugs
This project makes use of a D3 project found here licensed under MIT, this code is coaxed to work with React and used as a Country Selector
I'm using react-faux-dom to integrate D3 into React. In their intended use D3 and React both seek exclusive management of the DOM. There a few ways around this, some involve reserving DOM management entirely for React, some black box an area of the DOM from Reacts perspective and allow D3 reign within. This package creates a second DOM-like object (essentially a second virtual DOM) which is handed to D3 to work with
Population data is being pulled from World Population API. Data for select countries and regions is available from 1950 - 2018 and projected up to 2100