https://github.com/datopian/chart-builder
React app for building charts (aka datapackage views)
https://github.com/datopian/chart-builder
Last synced: 27 days ago
JSON representation
React app for building charts (aka datapackage views)
- Host: GitHub
- URL: https://github.com/datopian/chart-builder
- Owner: datopian
- Created: 2019-08-13T14:06:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T01:56:08.000Z (over 3 years ago)
- Last Synced: 2025-07-02T11:13:46.429Z (9 months ago)
- Language: CSS
- Size: 921 KB
- Stars: 7
- Watchers: 10
- Forks: 4
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://badge.fury.io/js/%40datopian%2Fchart-builder)
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Quick start
Install:
```
yarn add @datopian/chart-builder
```
Usage:
```javascript
import { ChartBuilder } from '@datopian/chart-builder'
function App() {
// View should have compiled resources so that schema is available
const view = {
resources: [...]
}
// Define redux `action`
return (
)
}
```
## Dev
We use `cosmos` to do dev:
```
yarn cosmos
```
Checkout `__fixtures__` dir for details.
## Compile package
For publication, run `yarn build:package` to compile package to `/dist` using babel