? ReactJS Data Visualization Library based on D3.js
source link: https://www.tuicool.com/articles/hit/YJJrMvq
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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.
:rocket: Quick Links
- Checkout the demos
- Learn more in the docs
- Try it yourself on CodeSandbox
- Learn about updates from the changelog
:sparkles: 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
:package: 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!
:telescope: Development
If you want to run REAVIZ locally, its super easy!
npm i npm start
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK