@unovis/ts
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
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:
npm install -P @unovis/ts @unovis/<react|angular|svelte|vue|solid>
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, Solid or TypeScript examples? Check out the Quick Start page on our website.
Examples and Documentation
📖 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
| Package | Description | Version | Downloads |
|---|---|---|---|
@unovis/ts |
Core TypeScript package | ||
@unovis/react |
React components | ||
@unovis/angular |
Angular components | ||
@unovis/svelte |
Svelte components | ||
@unovis/vue |
Vue components | ||
@unovis/solid |
Solid components | ||
@unovis/ssr |
Server-side rendering: charts to SVG/PNG in Node | ||
@unovis/mcp |
MCP server generating charts as SVG | ||
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
Contributors
License
Unovis is licensed under Apache-2.0
Related Packages
Modular data visualization framework for React, Angular, Svelte, Vue, and vanill...
This plugin is designed to allow Vue.js developers to incorporate fully reactive...
**Overview:** Datatale Charts is a versatile and user-friendly application desig...
Version History
| Version | Released | License |
|---|---|---|
| 1.7.1 | Apache-2.0 | |
| 1.7.0 | Apache-2.0 | |
| 1.6.7 | Apache-2.0 | |
| 1.6.6 | Apache-2.0 | |
| 1.6.5 | Apache-2.0 | |
| 1.6.4 | Apache-2.0 | |
| 1.6.3 | Apache-2.0 | |
| 1.6.2 | Apache-2.0 | |
| 1.6.1 | Apache-2.0 | |
| 1.6.0 | Apache-2.0 | |
| 1.5.2 | Apache-2.0 | |
| 1.5.1 | Apache-2.0 | |
| 1.5.0 | Apache-2.0 | |
| 1.4.5 | Apache-2.0 | |
| 1.4.4 | Apache-2.0 | |
| 1.4.3 | Apache-2.0 | |
| 1.4.2 | Apache-2.0 | |
| 1.4.1 | Apache-2.0 | |
| 1.4.0 | Apache-2.0 | |
| 1.3.5 | Apache-2.0 | |
| 1.3.4 | Apache-2.0 | |
| 1.3.3 | Apache-2.0 | |
| 1.3.2 | Apache-2.0 | |
| 1.3.1 | Apache-2.0 | |
| 1.3.0 | Apache-2.0 | |
| 1.2.3 | Apache-2.0 | |
| 1.2.2 | Apache-2.0 | |
| 1.2.1 | Apache-2.0 | |
| 1.2.0 | Apache-2.0 | |
| 1.1.1 | Apache-2.0 |
Showing the latest 30 of 35. See every release on npm
Pre-releases (279)
| Version | Released | License |
|---|---|---|
| 1.7.1-pre.1 | Apache-2.0 | |
| 1.7.0-beta.0 | Apache-2.0 | |
| 1.7.0-csp.1 | Apache-2.0 | |
| 1.7.0-csp.0 | Apache-2.0 | |
| 1.7.0-mcp.2 | Apache-2.0 | |
| 1.7.0-mcp.1 | Apache-2.0 | |
| 1.7.0-mcp.0 | Apache-2.0 | |
| 1.7.0-pre.2 | Apache-2.0 | |
| 1.7.0-pre.1 | Apache-2.0 | |
| 1.7.0-stellar.3 | Apache-2.0 | |
| 1.7.0-pre.0 | Apache-2.0 | |
| 1.7.0-stellar.2 | Apache-2.0 | |
| 1.7.0-stellar.1 | Apache-2.0 | |
| 1.7.0-Phoenix.0 | Apache-2.0 | |
| 1.6.8-csp-map.1 | Apache-2.0 | |
| 1.6.8-stellar-beta.5 | Apache-2.0 | |
| 1.6.8-csp-map.0 | Apache-2.0 | |
| 1.6.8-stellar-beta.4 | Apache-2.0 | |
| 1.6.8-stellar-beta.3 | Apache-2.0 | |
| 1.6.8-stellar-beta.2 | Apache-2.0 | |
| 1.6.8-stellar-beta.1 | Apache-2.0 | |
| 1.6.8-stellar-beta.0 | Apache-2.0 | |
| 1.6.7-stellar-beta.0 | Apache-2.0 | |
| 1.6.6-beta.1 | Apache-2.0 | |
| 1.6.6-beta.0 | Apache-2.0 | |
| 1.6.6-stellar.1 | Apache-2.0 | |
| 1.6.6-stellar-beta.0 | Apache-2.0 | |
| 1.6.6-stellar.0 | Apache-2.0 | |
| 1.6.5-topojson.10 | Apache-2.0 | |
| 1.6.5-topojson.9 | Apache-2.0 |
Showing the latest 30 of 279. See every release on npm
