All Projects → beizhedenglong → Rough Charts

beizhedenglong / Rough Charts

Licence: mit
📈 A responsive, composable react charting library with a hand-drawn style.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to Rough Charts

Reactochart
📈 React chart component library 📉
Stars: ✭ 459 (-69.09%)
Mutual labels:  data-visualization, react-components
Orama
Plug and play React charts
Stars: ✭ 125 (-91.58%)
Mutual labels:  data-visualization, react-components
Deep Viz
A React component library, providing concise and beautiful diversity charts with Canvas, SVG, E-map, WebGL, Dom, based on data visualization experience and commercial data display practice.
Stars: ✭ 55 (-96.3%)
Mutual labels:  data-visualization, react-components
Csharp Data Visualization
Code examples and notes for displaying data with C#
Stars: ✭ 355 (-76.09%)
Mutual labels:  drawing, data-visualization
Livechart
Android library to draw beautiful and rich line charts.
Stars: ✭ 78 (-94.75%)
Mutual labels:  drawing, data-visualization
Omg
🎨 一个让你跳过canvas,直接绘图的 2d 绘图库,上手简单,接口简洁,功能丰富.
Stars: ✭ 107 (-92.79%)
Mutual labels:  drawing
Opendata viz
Code behind medium blog
Stars: ✭ 107 (-92.79%)
Mutual labels:  data-visualization
Jafar
🌟!(Just another form application renderer)
Stars: ✭ 107 (-92.79%)
Mutual labels:  react-components
React Cropper
Cropperjs as React component
Stars: ✭ 1,600 (+7.74%)
Mutual labels:  react-components
React Native Image Slider Box
A simple and fully customizable React Native component that implements an Image Slider UI.
Stars: ✭ 113 (-92.39%)
Mutual labels:  react-components
3d Force Graph Vr
3D force-directed graph component in VR
Stars: ✭ 112 (-92.46%)
Mutual labels:  data-visualization
Learning Vis Tools
Learning Vis Tools: Tutorial materials for Data Visualization course at HKUST
Stars: ✭ 108 (-92.73%)
Mutual labels:  data-visualization
Clumsy
A library written on node.js for creating math figures on HTMLCanvas in XKCD style.
Stars: ✭ 107 (-92.79%)
Mutual labels:  drawing
Python Novice Gapminder
Plotting and Programming in Python
Stars: ✭ 109 (-92.66%)
Mutual labels:  data-visualization
Mui Treasury
A collection of ready-to-use components based on Material-UI
Stars: ✭ 1,821 (+22.63%)
Mutual labels:  react-components
Krisk
Statistical Interactive Visualization with pandas+Jupyter integration on top of Echarts.
Stars: ✭ 111 (-92.53%)
Mutual labels:  data-visualization
Ui
Talend's unified web UI repository.
Stars: ✭ 105 (-92.93%)
Mutual labels:  react-components
Echarts
Apache ECharts is a powerful, interactive charting and data visualization library for browser
Stars: ✭ 49,119 (+3207.68%)
Mutual labels:  data-visualization
Block Content To React
React component for transforming Sanity block content to React components
Stars: ✭ 111 (-92.53%)
Mutual labels:  react-components
Grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
Stars: ✭ 45,930 (+2992.93%)
Mutual labels:  data-visualization

Rough Charts · license build status

A responsive, composable react charting library with a hand-drawn style. See Examples From StoryBooks.

Overview

Features

  • It's responsive.
  • It's flexible and easy to compose. You can compose all available ChartSeries Components and render any shapes you like.
  • It's lovely.
  • It's written in TypeScript.

Installation

# NPM
npm install rough-charts

# Yarn 
yarn add rough-charts

This project contains a package called react-roughjs. It has a lot of basic rough shapes, you may need it.

Usage

import * as React from 'react'
import {
  LineSeries, Tooltip,
  ChartProvider, XAxis, YAxis,
} from 'rough-charts'
import { colors } from './colors'

const data = [
  { name: 'A', value1: 30, value2: 35 },
  { name: 'B', value1: 90, value2: 17 },
  { name: 'C', value1: 50, value2: 23 },
  { name: 'D', value1: 40, value2: 15 },
  { name: 'E', value1: 70, value2: 39 },
  { name: 'G', value1: 30, value2: 25 },
  { name: 'H', value1: 100, value2: 31 },
  { name: 'I', value1: 110, value2: 32 },
]

const App = props => (
  <ChartProvider
    height={400}
    data={data}
  >
    <XAxis dataKey="name" />
    <YAxis />
    <LineSeries
      dataKey="value1"
      options={{
        stroke: colors[0],
        strokeWidth: 2,
      }}
    />
    <LineSeries
      dataKey="value2"
      options={{
        stroke: colors[3],
        strokeWidth: 2,
      }}
    />
    <Tooltip />
  </ChartProvider>
)

Fonts

Add your favorite hand-drawn style fonts:

<link href="https://fonts.googleapis.com/css?family=Patrick+Hand&display=swap" rel="stylesheet">
<style>
  * {
    font-family: 'Patrick Hand', cursive;
    font-size: 16px;
  }
</style>

Credits

This project was built on top of d3 and roughjs.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].