Giter Site home page Giter Site logo

jrcribb / unovis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from f5/unovis

0.0 0.0 0.0 9.57 MB

Modular data visualization framework for React, Angular, Svelte, and vanilla TypeScript or JavaScript

Home Page: https://unovis.dev

License: Apache License 2.0

Shell 0.05% JavaScript 1.45% TypeScript 80.24% CSS 1.53% HTML 0.67% Dockerfile 0.06% Svelte 3.12% Vue 3.37% MDX 9.52%

unovis's Introduction

Unovis.mp4

๐ŸŸจ Unovis is a modular data visualization framework for React, Angular, Svelte, Vue, and vanilla TypeScript or JavaScript:

  • ๐Ÿ“ˆ ๐Ÿ—บ It has charts, maps, network graphs, and more!
  • ๐ŸŒณ Tree-shakable and supports individual component imports to reduce your bundle size;
  • ๐ŸŽจ Highly customizable, thanks to the CSS-variables support.

Learn more about Unovis on unovis.dev

Quick Start

You can install the core of the library @unovis/ts and framework-specific packages (if you use React, Angular, or Svelte) from NPM:

npm install -P @unovis/ts @unovis/<react|angular|svelte|vue>

Now you can import components and create your first chart! Here's how to build a simple line chart uising Unovis and React:

import React, { useCallback } from 'react'
import { VisXYContainer, VisLine, VisAxis } from '@unovis/react'

type DataRecord = { x: number; y: number }
const data: DataRecord[] = [
  { x: 0, y: 0 },
  { x: 1, y: 2 },
  { x: 2, y: 1 },
]

export function BasicLineChart (): JSX.Element {
  return (
    <VisXYContainer data={data}>
      <VisLine<DataRecord>
        x={useCallback(d => d.x, [])}
        y={useCallback(d => d.y, [])}
      ></VisLine>
      <VisAxis type="x"></VisAxis>
      <VisAxis type="y"></VisAxis>
    </VisXYContainer>
  )
}

Looking for Angular, Svelte, Vue, or TypeScript examples? Check out the Quick Start page on our website.

Examples and Documentation

Unovis Examples

๐Ÿ“– Unovis has an extensive documentation with code snippets for React, Angular, Svelte and TypeScript.

๐Ÿ–ผ Also there's a growing gallery of examples, from where you can copy the code over to your project or try it live on StackBlitz.

Repository structure

  • packages/ts Core TypeScript package
  • packages/angular Angular components
  • packages/react React components
  • packages/svelte Svelte components
  • packages/vue Vue components
  • packages/website Website, docs and examples

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. For more information, please read CONTRIBUTING.

Maintainers

Nikita Rokotyan Rebecca Bol

Contributors

Olga Stukova Sumit Kumar Gaurav Mukherjee Beverly Ackah Dmitriy Gutman

License

Unovis is licensed under Apache-2.0

unovis's People

Contributors

rokotyan avatar reb-dev avatar zernonia avatar yanneves avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.