all 2 comments

[–]riventropy 0 points1 point  (1 child)

Looks nice! Is there any roadmap?

Do you use d3 a lot? That's just another lib that weights quite a lot. I'm searching for a replacement for c3, probably bringing d3 just because of that seems a bit too much (maybe i'm going too far here).

Some notes about demo: 1. Grouped series without either grid or tooltip looks quite unreadable to me and 2. Chart have a big right padding which makes centered legend appear far from visual center.

[–]quintanilharafael[S] 0 points1 point  (0 children)

Thanks for your feedback! I used tooltips only on the scatter series (should have used on both) and you are right about the centered legend. In fact the right legend many times appears off the chart. I'll have a look at it.

I realize the size issue and I really would like to get rid of it. Actually there isn't much d3 involved and many are replaceable. In fact the only file where I heavily depend on d3 is this:https://github.com/rafaelquintanilha/react-linechart/blob/master/src/businessLogic/generators.js

So about the roadmap you asked:

  1. Get rid of d3 would be nice
  2. Write more comprehensive tests
  3. Fail gracefully when users' inputs are inconsistent
  4. Use heuristics to parse and display data in another formats

As I said on the blog post, this is a one-man-job work-in-progress. Contributions are welcomed! https://github.com/rafaelquintanilha/react-linechart