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

d3-spider

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d3-spider

Spider chart for d3

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

d3-spider

A shameless generalization of the radar plot from Nadieh Bremer.

Install

npm i d3-spider

Usage

import {spider} from 'd3-spider'

Assumptions

It is assumed that the data bound to spider is an object, where each key corresponds to a collection of all the values of the "web":

data = {
  A: {
    x: 1,
    y: 2,
    z: 3
  },
  B:  {
    x: 3,
    y: 1,
    z: 3
  }
}

more complex data can be provided should utility functions such as valueExtractor be overwritten from their default behavior:

data = {
  A: {
    x: { value: 1 },
    y: { value: 2 },
    ...
  },
  ...
}

FAQs

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