simple-viz
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.2
    2
    • latest

Version History

Package Sidebar

Install

npm i simple-viz

Weekly Downloads

2

Version

2.0.2

License

MIT

Unpacked Size

79.9 kB

Total Files

12

Last publish

Collaborators

  • webdacjs