How to get started with D3 and React
https://medium.freecodecamp.org/how-to-get-started-with-d3-and-react-c7da74a5bd9f
Photo by Brooke Cagle on UnsplashData Driven Documents (D3.js) is a JavaScript library used to create visualizations of data using HTML, CSS, and SVG. It does this by binding data to the DOM (Document Object Model) and its elements and allowing them to transform when the data changes.
For example, let’s say we want to create a pie chart of amounts of books in every genre in a library. We have some data which we update every time a librarian enters a new book. We store it in the application state, in a variable called “books”.