Socket
Socket
Sign inDemoInstall

@types/d3-array

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/d3-array - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

21

d3-array/index.d.ts

@@ -160,3 +160,3 @@ // Type definitions for D3JS d3-array module 1.0.0

/**
* Compute the standard deviation, defined as the square root of the bias-corrected variance, of the given array,
* Compute the standard deviation, defined as the square root of the bias-corrected variance, of the given array,
* using the given accessor to convert values to numbers.

@@ -259,3 +259,3 @@ */

/**
* Generate an array of approximately count + 1 uniformly-spaced, nicely-rounded values between start and stop (inclusive).
* Generate an array of approximately count + 1 uniformly-spaced, nicely-rounded values between start and stop (inclusive).
*/

@@ -279,3 +279,3 @@ export function ticks(start: number, stop: number, count: number): number[];

* Returns an array of arrays, where the ith array contains the ith element from each of the argument arrays.
* The returned array is truncated in length to the shortest array in arrays. If arrays contains only a single array, the returned array
* The returned array is truncated in length to the shortest array in arrays. If arrays contains only a single array, the returned array
* contains one-element arrays. With no arguments, the returned array is empty.

@@ -317,3 +317,3 @@ */

* setting approach only works, when the materialized values are numbers!
*
*
* @param count The desired number of uniform bins.

@@ -326,6 +326,6 @@ */

* setting approach only works, when the materialized values are numbers!
*
*
* @param count A function which accepts as arguments the array of materialized values, and
* optionally the domain minimum and maximum. The function calcutates and returns the suggested
* number of bins.
* number of bins.
*/

@@ -340,8 +340,8 @@ thresholds(count: ThresholdCountGenerator): this;

/**
* Set a threshold accessor function, which returns the array of values to be used as
* Set a threshold accessor function, which returns the array of values to be used as
* thresholds in determining the bins.
*
*
* @param thresholds A function which accepts as arguments the array of materialized values, and
* optionally the domain minimum and maximum. The function calcutates and returns the array of values to be used as
* thresholds in determining the bins.
* optionally the domain minimum and maximum. The function calcutates and returns the array of values to be used as
* thresholds in determining the bins.
*/

@@ -363,2 +363,1 @@ thresholds(thresholds: ThresholdArrayGenerator<Value>): this;

export function thresholdSturges(values: number[]): number; // of type ThresholdCountGenerator
{
"name": "@types/d3-array",
"version": "0.0.1",
"version": "0.0.2",
"description": "TypeScript definitions for D3JS d3-array module 1.0.0",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Mon, 08 Aug 2016 20:24:46 GMT
* Last updated: Mon, 22 Aug 2016 17:52:11 GMT
* File structure: ProperModule

@@ -14,0 +14,0 @@ * Library Dependencies: none

@@ -22,3 +22,3 @@ {

"hasPackageJson": false,
"contentHash": "11b1e4eb02228231bc290aaf1c7afa87157b78855eef4bdabe308104fbfd3c8f"
"contentHash": "140effe8e9d3abc496dfed583d8e41c4ca4d34ec3cf78d69e8aeeb3e3714c3fd"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc