@funnest/charts-viz 0.6.19 → 0.6.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
# @funnest/charts-viz
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Platform-neutral chart math (scales, ticks, SVG paths, stacking) for web and React Native.
|
|
3
|
+
Platform-neutral chart math (scales, ticks, SVG paths, stacking) shared by the web and React Native.
|
|
6
4
|
|
|
7
5
|
```bash
|
|
8
6
|
npm i @funnest/charts-viz
|
|
9
7
|
```
|
|
10
8
|
|
|
11
|
-
DOM
|
|
9
|
+
Pure TypeScript with no DOM. The SVG components in `@funnest/charts-react` use it, and React Native (react-native-svg) can draw the same results.
|
|
12
10
|
|
|
13
11
|
```ts
|
|
14
12
|
import { linearScale, linePath, ticks } from '@funnest/charts-viz';
|
|
@@ -17,8 +15,8 @@ const y = linearScale([0, 100], [200, 0]);
|
|
|
17
15
|
const d = linePath(values.map((v, i) => ({ x: i * 10, y: y(v) })), 'monotone');
|
|
18
16
|
```
|
|
19
17
|
|
|
20
|
-
##
|
|
18
|
+
## Links
|
|
21
19
|
|
|
22
|
-
-
|
|
23
|
-
- GitHub: https://github.com/funnest-xyz/funnest-charts
|
|
24
|
-
-
|
|
20
|
+
- Docs: https://charts.funnest.xyz/docs/
|
|
21
|
+
- GitHub: https://github.com/funnest-xyz/funnest-charts ([한국어](https://github.com/funnest-xyz/funnest-charts/blob/main/README.ko.md))
|
|
22
|
+
- License: Apache-2.0
|
package/package.json
CHANGED