Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@keen.io/dataviz
Advanced tools
@keen.io/dataviz
The @keen.io/dataviz
is abstraction layer that connects Keen API
with visualization components.
It allows to seamlessly embed and deliver metrics within your user interface with minimal effort.
For Front-End applications use standard npm
or yarn package manager.
yarn add @keen.io/dataviz
For direct website integration embed a script with @keen.io/dataviz
that is hosted on CDN.
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@keen.io/dataviz@latest/dist/dataviz.min.js"></script>
Renders metrics based on specified settings and analysis results.
const result = await client.query({
analysisType: 'count',
eventCollection: 'pageviews',
timeframe: 'this_14_days'
});
const chart = new DataViz({ type: 'bar', container: '#container' })
.render(result);
The presentationTimezone argument could be used to adjust visualizations to specified timezone or convert UTC ISO string dates based on defined offset in minutes.
const result = await client.query({
analysisType: 'count',
eventCollection: 'pageviews',
interval: 'daily',
timeframe: 'this_7_days'
});
const chart = new DataViz({
type: 'area',
container: '#container',
presentationTimezone: 'America/New_York' // -600
}).render(result);
For more code examples check the Keen Storybook.
This project targeting all modern browsers.
FAQs
Data Visualization SDK for Keen IO
The npm package @keen.io/dataviz receives a total of 129 weekly downloads. As such, @keen.io/dataviz popularity was classified as not popular.
We found that @keen.io/dataviz demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.