© Marcos Iglesias 2019
Marcos IglesiasPro D3.jshttps://doi.org/10.1007/978-1-4842-5203-1_10

10. Building Your Library

Marcos Iglesias
San Francisco, CA, USA
In previous chapters, we saw how to create modular, composable, and testable charts using the Reusable API. We demonstrated how that works out for Britecharts and how we can combine its components to create complex data visualizations. We also saw how to test our D3.js charts, creating professional components.
Assuming we followed these steps and have a set of chart components, we face the need for packaging them to distribute our chart library. We want to do it:
  • In a performant way (bundled and minified)
  • Enabling debugging and providing a great developer experience (source maps, live reload) ...

Get Pro D3.js: Use D3.js to Create Maintainable, Modular, and Testable Charts now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.