Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/f5/unovis

Modular data visualization framework for React, Angular, Svelte, Vue, and vanilla TypeScript or JavaScript
https://github.com/f5/unovis

angular charts data-visualization graphs maps react svelte vue

Last synced: 2 days ago
JSON representation

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

Awesome Lists containing this project

README

        

https://user-images.githubusercontent.com/755708/205744216-5e9efd10-794b-4ce1-9aca-580c34fad193.mp4

🟨 **Unovis** is a modular data visualization framework for React, Angular, Svelte, Vue, Solid 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](https://unovis.dev)

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

```bash
npm install -P @unovis/ts @unovis/
```

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

```tsx
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 (


x={useCallback(d => d.x, [])}
y={useCallback(d => d.y, [])}
>



)
}
```
Looking for Angular, Svelte, Vue, Solid or TypeScript examples? Check out the [Quick Start](https://unovis.dev/docs/quick-start) page on our website.

## Examples and Documentation
[![Unovis Examples](examples.png)](https://unovis.dev/gallery)

πŸ“– _Unovis_ has an extensive [documentation](https://unovis.dev/docs/intro) with code snippets for React, Angular,
Svelte and TypeScript.

πŸ–Ό Also there's a growing [gallery](https://unovis.dev/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/solid` Solid 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](CONTRIBUTING.md).

## Maintainers
[Nikita Rokotyan](https://github.com/rokotyan)
[Rebecca Bol](https://github.com/reb-dev)
[Qian Liu](https://github.com/lee00678)

## Contributors
[Olga Stukova](https://github.com/stukova)
[Sumit Kumar](https://github.com/sumitkumar25)
[Gaurav Mukherjee](https://github.com/gmfun)
[Beverly Ackah](https://github.com/beverlyckh)
[Dmitriy Gutman](https://github.com/DimamoN)
[zernonia](https://github.com/zernonia)
[Yann むーベス Eves](https://github.com/yanneves)
[Michael](https://github.com/TasoOneAsia)
[Josh Larsen](https://github.com/joshlarsen)

## License
_Unovis_ is licensed under Apache-2.0