
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
@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
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 new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.