Writing good quality software involves several tasks in addition to writing the code. Maintaining a code repository, testing, and writing consistent documentation are some of the tasks that need to be done when working with other people. This is also the case when we write charts and visualizations with D3. If we create a charting package, we would like to make it easy for others to use it and integrate it in their projects. In this chapter, we will describe a workflow and the tools that will help us to create a charting package. In this chapter, we will cover the following tasks:
Creating a repository: A version control system should be used. In some cases, this involves configuring a central repository.
Designing the API: Decide how to organize the code in logic units and how the package functionality will be exposed.
Writing the code: Implement the package components and features.
Testing: The package components should be tested to minimize the risk...