Skip to content
A set of React components to make charts
TypeScript JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
docs
src
.gitignore
.npmignore
LICENSE
README.md
index.html
package.json
styleguide.config.js
tsconfig.json styleguidist, react with hooks: ChartXY, Dot, Axis Jan 17, 2019
yarn.lock

README.md

fulgur

A React library to quickly make charts

installation

This lib currently relies on numerous peer dependencies, we hope to improve that

npm i d3-array d3-axis d3-scale d3-selection d3-shape lodash react react-dom
npm i @seracio/fulgur

Usage

import { xy } from '@seracio/fulgur';

render(
    <xy.Chart data={data} x={_.get('x')} y={_.get('y')}>
        <xy.Axis />
        <xy.Dot size={d => 2 + Math.random() * 20} />
    </xy.Chart>,
    document.querySelector('#root')
);

Resources

Similar projets

You can’t perform that action at this time.