Skip to content

React app for building charts (aka datapackage views)

Notifications You must be signed in to change notification settings

sagargg-zz/chart-builder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project was bootstrapped with Create React App.

Quick start

Install:

yarn add @datopian/chart-builder

Usage:

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 (
    <ChartBuilder view={view} dataViewBuilderAction={action} />
  )
}

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

About

React app for building charts (aka datapackage views)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 98.3%
  • JavaScript 1.5%
  • HTML 0.2%