3.0.0-alpha.3 • Published 4 months ago
@d3plus/react v3.0.0-alpha.3
@d3plus/react
React components for d3plus visualizations.
Installing
If using npm, npm install @d3plus/react
. Otherwise, you can download the latest release from GitHub or load from a CDN.
import modules from "@d3plus/react";
In vanilla JavaScript, a d3plus
global is exported from the pre-bundled version:
<script src="https://cdn.jsdelivr.net/npm/@d3plus/react@3.0.0-alpha.3"></script>
<script>
console.log(d3plus);
</script>
Examples
Live examples can be found on d3plus.org, which includes a collection of example visualizations using @d3plus/react.
API Reference
- D3plusContext - A React context instance used to provide global config options via a provider (D3plusContext.Provider).
- Renderer
d3plus.D3plusContext() <>
A React context instance used to provide global config options via a provider (D3plusContext.Provider).
This is a global function
d3plus.Renderer(config, className, callback) <>
This is a global function
3.0.0-alpha.3
4 months ago
3.0.0-alpha.2
7 months ago
3.0.0-alpha.1
7 months ago
3.0.0-alpha.0
7 months ago