Socket
Socket
Sign inDemoInstall

d3-funnel

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d3-funnel - npm Package Compare versions

Comparing version 0.6.4 to 0.6.5

2

package.json
{
"name": "d3-funnel",
"version": "0.6.4",
"version": "0.6.5",
"description": "A library for rendering SVG funnel charts using D3.js",

@@ -5,0 +5,0 @@ "author": "Jake Zatecky",

@@ -47,3 +47,3 @@ # D3 Funnel

The following options may also be specified through the second parameter to
`D3Funnel.draw`:
`D3Funnel.draw` (default values shown):

@@ -63,6 +63,6 @@ ``` javascript

// the count values rather than equal heights
animation: false, // The load animation speed in millseconds
animation: false, // The load animation speed in milliseconds
label: {
fontSize: "14px", // Any valid font size,
fill: "#000" // Hex color to change default #fff label color
fontSize: "14px", // Any valid font size
fill: "#fff" // Any valid hex color
}

@@ -84,3 +84,3 @@ };

Further more, you can even set colors for any data point label (hex only):
Furthermore, you can even set colors for any data point label (hex only):

@@ -90,3 +90,3 @@ ``` javascript

["Teal", 12000, "#008080" "#080800"],
["Byzantium", 4000, "#702963"], // Defaults to options.label.fill label color
["Byzantium", 4000, "#702963"], // Defaults to options.label.fill
["Persimmon", 2500, "#ff634d" "#6f34fd"],

@@ -93,0 +93,0 @@ ["Azure", 1500, "#007fff" "#07fff0"]

@@ -170,5 +170,2 @@ (function(global) {

console.log(":(");
// Add the hover events

@@ -175,0 +172,0 @@ if (this.hoverEffects) {

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