Skip to content

Exploring ways to integrate D3 and React, overcoming their mutual DOM possessiveness and finding a new harmonious relationship. Hopefully this will lead to being able to make an interesting app

Notifications You must be signed in to change notification settings

ruru-bootcamp-2018/D3-React

Repository files navigation

Population since 1950

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

Globe Selector

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

React-faux-dom

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

The Data

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

Note Dump

About

Exploring ways to integrate D3 and React, overcoming their mutual DOM possessiveness and finding a new harmonious relationship. Hopefully this will lead to being able to make an interesting app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published