Chart libraries: don't


When you want to create a chart, using a js library is usually the first thing that comes to your mind.

While it is definitely a good idea to start with, it often ends with making your life complicated. Let's see why.

Wip
4 minutes read

In a hurry

Explain the usual story

You start with a lib with NIVO. In a few minutes you have your chart. Great!

Now your boss ask for X, Y, Z. Doable.

Now he asks for something new. That's doable but hard. Your code starts to be hard to read.

And it ends by not being doable.

→ Better to use d3 directly and understand what you do!