@keen.io/widgets
TypeScript icon, indicating that this package has built-in type declarations

2.18.11 • Public • Published

@keen.io/widgets

Known Vulnerabilities

The @keen.io/widgets package is a higher visualization layer that connects @keen.io/charts with other components that could be used to interact with charts plots.

Installing

For Front-End applications use standard npm or yarn package manager.

yarn add @keen.io/widgets

Examples

import { FunnelChartWidget } from '@keen.io/widgets';

const chartData = [
  { name: 'Emails', value: 17000 },
  { name: 'Visits', value: 13050 },
  { name: 'Logins', value: 5900 },
  { name: 'Purchases', value: 4021 },
  { name: 'Payments', value: 3011 },
];

<FunnelChartWidget data={chartData} labelSelector="name" />

For more examples check the Keen Storybook.

/@keen.io/widgets/

    Package Sidebar

    Install

    npm i @keen.io/widgets

    Weekly Downloads

    35

    Version

    2.18.11

    License

    MIT

    Unpacked Size

    142 kB

    Total Files

    151

    Last publish

    Collaborators

    • aleksanderpapiez
    • keen_developer