You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@unovis/vue

Package Overview
Dependencies
Maintainers
5
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unovis/vue

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

1.5.2
latest
Source
npmnpm
Version published
Weekly downloads
23K
-11.11%
Maintainers
5
Weekly downloads
 
Created
Source

cover

🟨 Unovis is a modular data visualization framework for React, Angular, Svelte, Vue and vanilla TypeScript or JavaScript.

@unovis/vue provides Vue components for @unovis/ts, which makes Unovis integration into a Vue app much easier.

Learn more about Unovis on our website unovis.dev

Installation

npm install -P @unovis/ts @unovis/vue

Quick Start

TypeScript

<script setup lang="ts">
  import { VisXYContainer, VisLine, VisAxis } from '@unovis/vue'
  import { ref } from 'vue'

  type DataRecord = { x: number; y: number }
  const data = ref<DataRecord>([
    { x: 0, y: 0 },
    { x: 1, y: 2 },
    { x: 2, y: 1 },
  ])
  const x = (d: DataRecord) => d.x
  const y = (d: DataRecord) => d.y
</script>

<VisXYContainer :height="600">
  <VisLine :data="data" :x="x" :y="y"/>
  <VisAxis type="x"/>
  <VisAxis type="y"/>
</VisXYContainer>

JavaScript

<script>
  import { VisXYContainer, VisLine, VisAxis } from '@unovis/vue'
  import { ref } from 'vue'

  export let data = ref([
    { x: 0, y: 0 },
    { x: 1, y: 2 },
    { x: 2, y: 1 },
  ])
  const x = d => d.x
  const y = d => d.y
</script>

<VisXYContainer :height="600">
  <VisLine :data="data" :x="x" :y="y"/>
  <VisAxis type="x"/>
  <VisAxis type="y"/>
</VisXYContainer>

Documentation

https://unovis.dev/docs/intro

Examples

https://unovis.dev/gallery

License

Apache-2.0

Keywords

vue

FAQs

Package last updated on 22 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.