New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@keen.io/charts

Package Overview
Dependencies
Maintainers
3
Versions
283
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keen.io/charts

Keen charts

2.32.2
Source
npm
Version published
Weekly downloads
31
-53.03%
Maintainers
3
Weekly downloads
 
Created
Source

@keen.io/charts

Known Vulnerabilities

The @keen.io/charts is set of reusable plots components built with React and D3. Charts are part of a @keen.io/widgets and @keen.io/dataviz packages that could be used to seamlessly embed and deliver metrics within your user interface.

Charts plots theme could be fully customized by providing theme object. Each of chart plot supports a lot of configuration options to adjust it to Your own needs.

Installing

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

yarn add @keen.io/charts

Examples

import { BarChart } from '@keen.io/charts';

const chartData = [
  { name: 'Windows', users: 3, licenses: 52, shops: 12 },
  { name: 'MacOS', users: 19, licenses: 82, shops: 15 },
  { name: 'Linux', users: 20, licenses: 15, shops: 23 },
  { name: 'Android', users: 3, licenses: 15, shops: 30 },
];

<BarChart data={chartData} useDynamicLayout labelSelector="name" keys={['users', 'licenses', 'shops']} />

For more examples check the Keen Storybook.

FAQs

Package last updated on 10 Sep 2021

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