Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

reaviz

Package Overview
Dependencies
Maintainers
1
Versions
395
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reaviz

Data Visualization using React and D3.js

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8.1K
decreased by-26.37%
Maintainers
1
Weekly downloads
 
Created
Source

📊 R2D3
R2D3 is a data visualization library for React based on D3js.


R2D3 provides features a module chart component library that leverages React natively for rendering the components while using D3js under the hood for calulcations. The library provides a easy way to get started creating charts without sacraficing customization ability!

✨ Features

Chart types include:

  • Bar Chart
  • Line Chart
  • Area Chart
  • Pie Chart
  • Bubble Chart
  • Scatter Plot
  • Hive Plot
  • Sankey Chart
  • Map Chart
  • Sparklines

Additional features:

  • Legend
  • Tooltips
  • Animations Enter/Update/Exit
  • Advanced Axis Configurability
  • Brush
  • Panning / Zooming
  • Gestures
  • Grid/Mark Lines

📦 Install

To use R2D3 in your project, install it via npm/yarn:

npm i r2d3 --save

then import a chart type into your JSX element:

import { BarChart } from 'r2d3';

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 R2D3 locally, its super easy!

  • Clone the repo
  • npm i
  • npm start
  • Browser opens to Storybook page

Keywords

FAQs

Package last updated on 03 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc