Chapter 4: Building Animated Components, or How React Makes D3 Better
by Swizec Teller
D3 is great. As the jQuery of the web data visualization world, it can do everything you can think of.
Many of the best data visualizations you've seen online use D3. It's a great library, and with the recent v4 update, it became more robust than ever.
Add React, and you can make D3 even better.
Just like jQuery, D3 is powerful but low level. The bigger your visualization, the harder your code becomes to work with, the more time you spend fixing bugs and pulling your hair out.
React can fix that.
You can read my book React+d3js ES6 for a deep insight, or keep reading for an overview of how to best integrate React and D3. In a practical example, we'll see ...
Get React: Tools & Resources now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.