© Marcos Iglesias 2019
M. IglesiasPro D3.jshttps://doi.org/10.1007/978-1-4842-5203-1_12

12. Using Your Library with React

Marcos Iglesias1 
(1)
San Francisco, CA, USA
 

React is a widespread and popular library for user interface development in JavaScript. At the same time, D3.js is the most successful library for creating visualizations for the browser. Their prevalence means that in many projects, we need to make them work together.

In this chapter, we will explore the use of D3.js charts within React applications. We will talk about React – the user interface library developed at Facebook. We will see how React renders views efficiently and how it relates to the D3.js way. We will explore different strategies to make React work along with D3.js. We ...

Get Pro D3.js: Use D3.js to Create Maintainable, Modular, and Testable Charts 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.