Britecharts
Composable Charting Library based on reusable D3.js components
... applied to it. All the components expose some common API methods like width, height, and margin. Additionally, each chart or component can expose specific methods you can find in the documentation. Britecharts components are distributed in UMD modules, each one exposing a D3.js component written with the Reusable API pattern. To use any of the Britecharts modules, you will need to require the chart in your JS file using AMD/CommonJS modules or adding a script tag with the src pointing to the file.