Zurück zum Ranking

VisActor/VChart

TypeScriptvisactor.io/vchart

VChart, more than just a cross-platform charting library, but also an expressive data storyteller.

chartcharting-librarydatavisualization3dchartcanvascanvas2dnarrative-visualizationreact-chartvue-chartplotdatavizvis
Sterne-Wachstum
Sterne
1.8k
Forks
215
Wochenwachstum
Issues
226
5001k1.5k
Juni 2023Juni 2024Juli 2025Juli 2026
Artefaktenpmnpm install vchart
README

VChart

VChart, more than just a cross-platform charting library, but also an expressive data storyteller.

IntroductionDemoTutorialAPICross-Platform

npm Version npm Download PRs Welcome

license

English | 简体中文 | 日本語

(video)

Introduction

VChart is a charting component library in VisActor visualization system. It wraps the charting logic based on visual grammar library VGrammar and the component encapsulation based on visual rendering engine VRender. The core capabilities are as follows:

  1. Cross-platform: Automatically adapt to desktop, H5, and multiple small program environments
  2. Storytelling: Comprehensive annotation, animation, flow control, narrative templates, and other enhanced features for visual storytelling
  3. Scenes: Deliver visual storytelling capabilities to end-users, unlock developer productivity

Repository Introduction

This repository includes the following packages:

  1. vchart: The core code repository of VChart
  2. react-vchart: The VChart component encapsulated based on React
  3. taro-vchart: The VChart component encapsulated based on Taro
  4. lark-vchart: The VChart component encapsulated based on Lark miniAPP
  5. block-vchart: The VChart component encapsulated based on Lark Block
  6. wx-vchart:The VChart component encapsulated based on Wx miniAPP
  7. docs: VChart site source code, and also contains all Chinese and English documents, chart sample codes, etc. of the site.

🔨 Usage

📦 Installation

# npm
$ npm install @visactor/vchart

# yarn
$ yarn add @visactor/vchart

📊 A Chart Example

import VChart from '@visactor/vchart';

const spec = {
  type: 'bar',
  data: [
    {
      id: 'barData',
      values: [
        { month: 'Monday', sales: 22 },
        { month: 'Tuesday', sales: 13 },
        { month: 'Wednesday', sales: 25 },
        { month: 'Thursday', sales: 29 },
        { month: 'Friday', sales: 38 }
      ]
    }
  ],
  xField: 'month',
  yField: 'sales',
  crosshair: {
    xField: { visible: true }
  }
};

// 'chart' is the id of your dom container, such as <div id="chart"></chart>
const vchart = new VChart(spec, { dom: 'chart' });
vchart.renderAsync();

⌨️ Development

First of all, please install @microsoft/rush

$ npm i --global @microsoft/rush

Then clone locally:

# clone
$ git clone git@github.com:VisActor/VChart.git
$ cd VChart
# install dependencies
$ rush update
# start vchart development server
$ rush start
# start react-vchart development server
$ rush react
# start site development server
$ rush docs

📖 Documents

After installation & clone & update, run docs to preview VTable documents locally.

# start vtable document server. execute in file path: ./
$ rush update
$ rush build
$ rush docs

If you meet dependency problems

$ rush purge
$ rush update

💫 Ecosystem

Project Description
React-VChart React interface for @VisActor/VChart
OpenInula-VChart OpenInula VChart Components
OMI Web Components Framework
A vercel template built with vchart and Next.js A modern dashboard template built with vchart and Next.js, featuring a beautiful UI and rich data visualization components.

Star History

Star History Chart

💖 Thanks

Thanks to Semi for providing the theme visualization customization solution.

🤝 Contribution PRs Welcome

If you would like to contribute, please read the Code of Conduct and our contributing guide first。

Small streams converge to make great rivers and seas!

Ähnliche Repositories
d3/d3

Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:

ShellISC Licensevisualizationdata-visualization
d3js.org
113.3k22.7k
chartjs/Chart.js

Simple HTML5 Charts using the <canvas> tag

JavaScriptnpmMIT Licensejavascriptchart
chartjs.org
67.6k11.9k
PhilJay/MPAndroidChart

A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.

JavaMavenOtherjavachart
philippjahoda.com
38.2k9k
helm/helm

The Kubernetes Package Manager

GoGo ModulesApache License 2.0cncfchart
helm.sh
30k7.7k
recharts/recharts

Redefined chart library built with React and D3

TypeScriptnpmMIT Licensereactcharting-library
recharts.github.io
27.4k2k
airbnb/visx

🐯 visx | visualization components

TypeScriptnpmMIT Licensevxreact
visx.airbnb.tech
21k767
qax-os/excelize

Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets

GoGo ModulesBSD 3-Clause "New" or "Revised" Licensexlsxexcel
xuri.me/excelize
20.8k1.9k
nhn/tui.editor

🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.

TypeScriptnpmMIT Licenseeditorwysiwyg
ui.toast.com/tui-editor
18k1.9k
dream-num/Luckysheet

Luckysheet upgraded to Univer

JavaScriptnpmMIT Licensespreadsheetjavascript
github.com/dream-num/univer/
16.7k2.6k
frappe/charts

Simple, responsive, modern SVG Charts with zero dependencies

JavaScriptnpmMIT Licensechartjavascript
frappe.io/charts/docs
15.1k750
webpack/webpack-bundle-analyzer

Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap

JavaScriptnpmMIT Licensewebpackwebpack-bundle-analyzer
12.7k508
webpack-contrib/webpack-bundle-analyzer

Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap

JavaScriptnpmMIT Licensewebpackwebpack-bundle-analyzer
12.6k489