Data visualization library for React based on D3js
REAVIZ is a modular chart component library that leverages React natively for rendering the components while using D3js under the hood for calculations. The library provides an easy way to get started creating charts without sacrificing customization ability.
🚀 Quick Links
- Checkout the demos
- Learn more in the docs
- Try it yourself on CodeSandbox
- Learn about updates from the changelog
✨ Features
Chart types include:
- Linear (Vertical & Horizontal) & Radial Bar Chart
- Linear & Radial Line Chart
- Linear & Radial Area Chart
- Linear & Radial Bubble Chart
- Linear & Radial Scatter Plot
- Pie Chart
- Hive Plot
- Sankey Chart
- Map Chart
- Sparklines
- Radial Gauge Chart
Additional features:
- Legend
- Tooltips
- Animations Enter/Update/Exit
- Linear & Radial Axis
- Brush
- Patterns & Gradients Styles
- Panning/Zooming
- Gestures
- Grid/Marklines
- BigInt Support
📦 Install
To use reaviz in your project, install it via npm/yarn:
npm i reaviz --save
then import a chart type into your JSX element:
import { BarChart } from "reaviz"; const data = [ { key: 'IDS', data: 14 }, { key: 'Malware', data: 5 }, { key: 'DLP', data: 18 } ]; const App = () => <BarChart width={350} height={250} data={data} />;
Checkout this demo live or visit the demos page to learn more!
🔠Development
If you want to run REAVIZ locally, its super easy!
- Clone the repository
npm i
npm start
- Browser opens to Storybook page