Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fishawack/lab-d3

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fishawack/lab-d3 - npm Package Compare versions

Comparing version 2.7.1 to 2.7.2

3

CHANGELOG.md
## Changelog
### 2.7.2 (2021-03-03)
* [Feature] Band and Point scales can now have their axis tick values hard coded
### 2.7.1 (2021-03-02)

@@ -4,0 +7,0 @@ * [Feature] Box chart now supports single values

2

package.json
{
"name": "@fishawack/lab-d3",
"version": "2.7.1",
"version": "2.7.2",
"description": "Abstract layer built on top of d3",

@@ -5,0 +5,0 @@ "scripts": {

@@ -488,3 +488,3 @@ "use strict";

if (att.scale[scale] === 'point') {
local.scale[scale] = d3.scalePoint().domain(local.flatData.reduce(function (a, b) {
local.scale[scale] = d3.scalePoint().domain(att.axis[scale].tickValues || local.flatData.reduce(function (a, b) {
return a.concat(Shared[scale](b, att));

@@ -497,3 +497,3 @@ }, [])).padding(local.padding.outer);

} else if (att.scale[scale] === 'band') {
local.scale[scale] = d3.scaleBand().domain(local.flatData.reduce(function (a, b) {
local.scale[scale] = d3.scaleBand().domain(att.axis[scale].tickValues || local.flatData.reduce(function (a, b) {
return a.concat(Shared[scale](b, att));

@@ -500,0 +500,0 @@ }, [])).paddingInner(local.padding.inner).paddingOuter(local.padding.outer);

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