1. React
  2. React Advanced
  3. 2019
  4. Hooked on D3: Creating Animated Ch(art)s with D3 and React Hooks

Hooked on D3: Creating Animated Ch(art)s with D3 and React Hooks

Monica Wojciechowska at React Advanced 2019

From a quick glance, it might not seem like D3 and React are a match made in heaven. After all, they’re both all about being in charge - who gets to render, who gets to update, who gets to decide how things should look... the story goes on and on. But with these two, as in life, the best relationship is about compromise and sharing responsibilities. So, how can we turn a tug-of-war into a beautiful, responsive, animated tango? Enter, React hooks!