Skip to content

cubedb/react-cubedb

Repository files navigation

CubeDb

Build status

react-cudedb

This package contain a serie of React components, using Reat-Bootstrap and D3 to generate graphs based on CubeDB's data.

Check the demo

Local Setup (using yarn)

  • Install the dependencies with yarn install
  • Run tests with Jest yarn test
  • Update tests snapshots yarn test:updateSnapshot
  • Run Eslint yarn lint
  • Fix linter yarn lint:fix
  • Run the storybook in development mode with yarn storybook
  • Build with yarn build

Examples

TimeGraph

Simple TimeGraph

Simple TimeGraph

TimeGraph stacked

TimeGraph stacked

BarGraph

BarGraph

BarGraph

BarGraph filters

BarGraph filters

BarGraph with comparison

BarGraph with comparison

BarGraph and TimeGraph comparing data

BarGraph with comparison

BarGraph with comparison

TimeGraph with comparison

TimeGraph with comparison

Trending graphs

TrendingGraph