
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@unovis/svelte
Advanced tools
Modular data visualization framework for React, Angular, Svelte, Vue, Solid, and vanilla TypeScript or JavaScript
🟨 Unovis is a modular data visualization framework for React, Angular, Svelte, and vanilla TypeScript or JavaScript.
@unovis/svelte
provides Svelte components for @unovis/ts
, which makes Unovis integration into a Svelte
app much easier.
Learn more about Unovis on our website unovis.dev
npm install -P @unovis/ts @unovis/svelte
<script lang="ts">
import { VisXYContainer, VisLine, VisAxis } from '@unovis/svelte'
type DataRecord = { x: number; y: number }
export let data = [
{ 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} {x} {y}/>
<VisAxis type="x"/>
<VisAxis type="y"/>
</VisXYContainer>
<script>
import { VisXYContainer, VisLine, VisAxis } from '@unovis/svelte'
export let data = [
{ 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} {x} {y}/>
<VisAxis type="x"/>
<VisAxis type="y"/>
</VisXYContainer>
Apache-2.0
FAQs
Modular data visualization framework for React, Angular, Svelte, Vue, Solid, and vanilla TypeScript or JavaScript
The npm package @unovis/svelte receives a total of 1,941 weekly downloads. As such, @unovis/svelte popularity was classified as popular.
We found that @unovis/svelte demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.