New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

simple-viz

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-viz

A set of simple but useful visualization components.

latest
npmnpm
Version
2.0.2
Version published
Maintainers
1
Created
Source

simple-viz

This simple React UI library contains a small set of visualizations that I might expand later. For now it only contains a Treemap.

Install

You can install with [npm]:

$ npm install --save simple-viz

Usage

The library is self documented in a Storybook here:

https://webdacjs.github.io/simple-viz/

Please browse it and discover all the different usecases supported but the simplest usage is to import the Treemap module and pass the data parameter. This data should contain an array of ojects with value, but can contain other properties like color, label and tooltip. ie


import { Treemap } from 'simple-viz'

export default function testcomponent ({data, rows, vals}) {

    return (
         <Treemap
            data={data} />
    )

}

License

Copyright © 2021, Juan Convers. Released under the MIT License.

Keywords

treemap

FAQs

Package last updated on 28 Dec 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