4. • React is an open-source JS library for creating user interfaces that aims to address the
problems of building large applications with data that changes over time.
• React only cares about displaying UI components but it’ not the “V” in “MVC”
• Originally developed at Facebook, it is now used at Instagram, Netflix, Airbnb, and
HelloSign.
What is React?1
React and D3
6. • React forces you to think in terms of small, reusable, compossible UI components
• React’s uni-directional makes it much easier to pinpoint source of bugs
• React is much easier to work with existing code that most other solutions
Why Would I Use React?2
React and D3
8. • D3 (Data-Driven Documents) is a JavaScript library for producing dynamic, interactive data-
visualizations.
• Give a lot of functionality out of the box
• Super popular but fairly low level
What is D3?3
React and D3
10. • React generally works pretty well with other libraries
• D3 is great for doing the math for data visualizations and React is great at rendering and
updating UI components.
• With React you can create a chart using D3 and reuse the component anywhere with
different data
• However, making React and D3 play nice is a little tricky since they treat data differently
Why Would I use React and D3?4
React and D3