If using npm,
npm install d3plus. Otherwise, you can download the latest release from GitHub or load from a CDN.
import modules from "d3plus";
d3plus can be loaded as a standalone library or bundled as part of D3plus. ES modules, AMD, CommonJS, and vanilla environments are supported. In vanilla, a
d3plus global is exported:
<script src="https://cdn.jsdelivr.net/npm/d3plus@2"></script> <script> console.log(d3plus); </script>
Examples and documentation are published in a Storybook here. Each example has controls that are able to modified on the fly, documentation for each method used, and an example code output for the d3plus-react configurations.
Examples and Documentation
D3plus 2.0 is a collection of modules that are designed to work together; you can use the modules independently, or you can use them together as part of the default build. The source and documentation for each module is available in its repository. Follow the links below to learn more.