3.9.0 • Published 8 months ago
@junipero/react-d3-plugin v3.9.0
Installation
yarn add @junipero/react junipero/react-d3-plugin d3
Usage
import { Chart, Curve } from '@junipero/react-d3-plugin';
import * as d3 from 'd3';
export default () => (
<Chart
axis={[{
type: d3.axisBottom,
scale: d3.scaleTime,
data: [new Date(2023, 0, 1), new Date(2023, 0, 2), new Date(2023, 0, 3)],
}, {
type: d3.axisLeft,
scale: d3.scaleLinear,
data: [10, 20, 30],
grid: true,
}]}
>
<Curve
type="area"
xAxisIndex={0}
yAxisIndex={1}
/>
</Chart>
);
Don't forget to add our default theme to your app using @junipero/theme, or create your own theme.
Dependencies
These libraries are not bundled with this package and required at runtime:
Documentation
https://junipero.design/components
Contributing
Please check the CONTRIBUTING.md doc for contribution guidelines.
License
This software is licensed under MIT.
3.10.0-beta.0
8 months ago
3.9.0
9 months ago
3.7.4
10 months ago
3.8.1
10 months ago
3.8.0
10 months ago
3.7.3
11 months ago
3.5.5
1 year ago
3.7.2
12 months ago
3.6.3
1 year ago
3.5.4
1 year ago
3.7.1
12 months ago
3.6.2
1 year ago
3.5.3
1 year ago
3.7.0
1 year ago
3.6.1
1 year ago
3.6.0
1 year ago
3.5.1
1 year ago
3.5.0
1 year ago
3.4.11
1 year ago
3.4.8
1 year ago
3.4.7
1 year ago
3.4.6
1 year ago
3.4.5
1 year ago
3.4.1
2 years ago
3.3.0
2 years ago
3.2.3
2 years ago
3.2.2
2 years ago
3.2.1
2 years ago
3.2.0
2 years ago
3.2.0-next.2
2 years ago
3.2.0-next.1
2 years ago
3.2.0-next.0
2 years ago