novus / nvd3

A reusable charting library written in d3.js
http://nvd3.org/
Other
7.22k stars 2.15k forks source link

Refactor chart components for composability #1788

Open brylie opened 8 years ago

brylie commented 8 years ago

Currently, the developer documentation is limited to a set of high-level chart types, such as LinetWithFocusChart. This makes it simple to use NVD3, but is difficult to define/modify custom chart types.

Feature request

For any significant refactoring of the NVD3 codebase, it may be worthwhile to design a high-level composable API (and corresponding documentation), so that custom chart types could be constructed, declaratively, from chart components.

Component types

There would be several generic component types useful when constructing custom charts. Some examples, borrowed from other libraries include:

There are some other charting libraries, and JavaScript frameworks, taking the route of composability, namely:

brylie commented 8 years ago

Possibly related to issue #1794