Skip to content

Comment on C3.js: D3-based reusable chart library

Comments

This totally goes against the whole point Mike Bostock (creator of D3) laid out when he talks about creating reusable charts...

http://bost.ocks.org/mike/chart/

"To sum up: implement charts as closures with getter-setter methods. Conveniently, this is the same pattern used by D3’s other reusable objects, including scales, layouts, shapes, axes, etc."

You get none of that with C3.js...

There are some things that you can't easily do with Mike Bostock's method. Namely, it's not a good format for storing, examining, and modifying charts. And that's perfectly fine. It's good for what it's good for. But not everyone has the same needs.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.