tkonopka / chsk

Library for dynamic data visualization and story-telling with React
https://tkonopka.github.io/chsk/
MIT License
3 stars 1 forks source link
charting-library charts component-library data-visualisation data-visualization dataviz react visualization

chsk

documentation tests License: MIT

Chsk is a library of React components for data visualization. It provides a toolkit for creating static charts for offline publications, dynamic components for dashboards, and animated stories for presentations.

Features

The library provides React components for data visualization.

Advanced features enable creating dynamic and bespoke content.

Example

The animation below shows a bar chart with custom spacing between groups of bars. The recording starts with an empty surface and parts of the chart enter into view in stages. Later, the bars readjust to display new data.

Custom bar chart

All data in the animation are synthetic. A live version of the chart is available here.

Install

Package @chsk/core with library infrastructure is available from npm.

npm install @chsk/core

Add-on packages provide data-specific components. For example, package @chsk/band supports bar charts.

npm install @chsk/band

Available packages are: @chsk/annotation, @chsk/band, @chsk/matrix, @chsk/polar, @chsk/set, @chsk/themes, @chsk/xy.

Credits

Thanks to all the maintainers and contributors of the packages listed in packages.json.

Key dependencies include react for managing state, d3 for data processing related to visualization, and framer-motion for managing animations.

Special thanks also to charting libraries recharts and nivo, which are important influences.

Contributing

Contributions are welcome. Please see CONTRIBUTING.md.