🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@zakodium/react-heatmap

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zakodium/react-heatmap

Display beautiful SVG heat maps

1.0.0
Source
npm
Version published
Maintainers
2
Created
Source

@zakodium/react-heatmap

NPM version npm download

Display beautiful SVG heat maps.

Installation

$ npm i @zakodium/react-heatmap

Live examples

https://zakodium.github.io/react-heatmap

Usage

import { Heatmap } from '@zakodium/react-heatmap';

function App() {
  return (
    <Heatmap
      dimensions={{ height: 600 }} // Do not specify width and let it be responsive
      data={[[-20, -15, -10], [-5, 0, 5], [10, 15, 20]]}
      xLabels={['Column 1', 'Column 2', 'Column 3']}
    />
  );
}

License

MIT

FAQs

Package last updated on 16 Jul 2019

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