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

d3plus

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d3plus - npm Package Compare versions

Comparing version 2.0.0-alpha.17 to 2.0.0-alpha.18

es/index.js

323

build/d3plus.js
/*
d3plus v2.0.0-alpha.17
d3plus v2.0.0-alpha.18
Data visualization made easy. A javascript library that extends the popular D3.js to enable fast and beautiful visualizations.
Copyright (c) 2018 D3plus - https://d3plus.org
Copyright (c) 2019 D3plus - https://d3plus.org
@license MIT

@@ -66,96 +66,241 @@ */

if (!String.prototype.includes) {
Object.defineProperty(String.prototype, 'includes', {
value: function(search, start) {
if (typeof start !== 'number') {
start = 0
}
if (start + search.length > this.length) {
return false
} else {
return this.indexOf(search, start) !== -1
}
}
})
}
if (!Array.prototype.find) {
Object.defineProperty(Array.prototype, 'find', {
value: function(predicate) {
// 1. Let O be ? ToObject(this value).
if (this == null) {
throw new TypeError('"this" is null or not defined');
}
var o = Object(this);
// 2. Let len be ? ToLength(? Get(O, "length")).
var len = o.length >>> 0;
// 3. If IsCallable(predicate) is false, throw a TypeError exception.
if (typeof predicate !== 'function') {
throw new TypeError('predicate must be a function');
}
// 4. If thisArg was supplied, let T be thisArg; else let T be undefined.
var thisArg = arguments[1];
// 5. Let k be 0.
var k = 0;
// 6. Repeat, while k < len
while (k < len) {
// a. Let Pk be ! ToString(k).
// b. Let kValue be ? Get(O, Pk).
// c. Let testResult be ToBoolean(? Call(predicate, T, « kValue, k, O »)).
// d. If testResult is true, return kValue.
var kValue = o[k];
if (predicate.call(thisArg, kValue, k, o)) {
return kValue;
}
// e. Increase k by 1.
k++;
}
// 7. Return undefined.
return undefined;
},
configurable: true,
writable: true
});
}
if (!String.prototype.startsWith) {
Object.defineProperty(String.prototype, 'startsWith', {
value: function(search, pos) {
pos = !pos || pos < 0 ? 0 : +pos;
return this.substring(pos, pos + search.length) === search;
}
});
}
if (typeof window !== "undefined") {
(function () {
var serializeXML = function (node, output) {
var nodeType = node.nodeType;
if (nodeType === 3) {
output.push(node.textContent.replace(/&/, '&amp;').replace(/</, '&lt;').replace('>', '&gt;'));
} else if (nodeType === 1) {
output.push('<', node.tagName);
if (node.hasAttributes()) {
[].forEach.call(node.attributes, function(attrNode){
output.push(' ', attrNode.item.name, '=\'', attrNode.item.value, '\'');
})
}
if (node.hasChildNodes()) {
output.push('>');
[].forEach.call(node.childNodes, function(childNode){
serializeXML(childNode, output);
})
output.push('</', node.tagName, '>');
} else {
output.push('/>');
}
} else if (nodeType == 8) {
output.push('<!--', node.nodeValue, '-->');
}
}
Object.defineProperty(SVGElement.prototype, 'innerHTML', {
get: function () {
var output = [];
var childNode = this.firstChild;
while (childNode) {
serializeXML(childNode, output);
childNode = childNode.nextSibling;
}
return output.join('');
},
set: function (markupText) {
while (this.firstChild) {
this.removeChild(this.firstChild);
}
try {
var dXML = new DOMParser();
dXML.async = false;
var sXML = '<svg xmlns=\'http://www.w3.org/2000/svg\' xmlns:xlink=\'http://www.w3.org/1999/xlink\'>' + markupText + '</svg>';
var svgDocElement = dXML.parseFromString(sXML, 'text/xml').documentElement;
var childNode = svgDocElement.firstChild;
while (childNode) {
this.appendChild(this.ownerDocument.importNode(childNode, true));
childNode = childNode.nextSibling;
}
} catch (e) {};
}
});
Object.defineProperty(SVGElement.prototype, 'innerSVG', {
get: function () {
return this.innerHTML;
},
set: function (markup) {
this.innerHTML = markup;
}
});
})();
}
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3plus-axis'), require('d3plus-color'), require('d3plus-common'), require('d3plus-geomap'), require('d3plus-hierarchy'), require('d3plus-legend'), require('d3plus-network'), require('d3plus-plot'), require('d3plus-priestley'), require('d3plus-shape'), require('d3plus-text'), require('d3plus-timeline'), require('d3plus-tooltip'), require('d3plus-viz')) :
typeof define === 'function' && define.amd ? define('d3plus', ['exports', 'd3plus-axis', 'd3plus-color', 'd3plus-common', 'd3plus-geomap', 'd3plus-hierarchy', 'd3plus-legend', 'd3plus-network', 'd3plus-plot', 'd3plus-priestley', 'd3plus-shape', 'd3plus-text', 'd3plus-timeline', 'd3plus-tooltip', 'd3plus-viz'], factory) :
(factory((global.d3plus = {}),global.d3plusAxis,global.d3plusColor,global.d3plusCommon,global.d3plusGeomap,global.d3plusHierarchy,global.d3plusLegend,global.d3plusNetwork,global.d3plusPlot,global.d3plusPriestley,global.d3plusShape,global.d3plusText,global.d3plusTimeline,global.d3plusTooltip,global.d3plusViz));
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3plus-axis'), require('d3plus-color'), require('d3plus-common'), require('d3plus-geomap'), require('d3plus-hierarchy'), require('d3plus-legend'), require('d3plus-network'), require('d3plus-plot'), require('d3plus-priestley'), require('d3plus-shape'), require('d3plus-text'), require('d3plus-timeline'), require('d3plus-tooltip'), require('d3plus-viz')) :
typeof define === 'function' && define.amd ? define('d3plus', ['exports', 'd3plus-axis', 'd3plus-color', 'd3plus-common', 'd3plus-geomap', 'd3plus-hierarchy', 'd3plus-legend', 'd3plus-network', 'd3plus-plot', 'd3plus-priestley', 'd3plus-shape', 'd3plus-text', 'd3plus-timeline', 'd3plus-tooltip', 'd3plus-viz'], factory) :
(factory((global.d3plus = {}),global.d3plusAxis,global.d3plusColor,global.d3plusCommon,global.d3plusGeomap,global.d3plusHierarchy,global.d3plusLegend,global.d3plusNetwork,global.d3plusPlot,global.d3plusPriestley,global.d3plusShape,global.d3plusText,global.d3plusTimeline,global.d3plusTooltip,global.d3plusViz));
}(this, (function (exports,d3plusAxis,d3plusColor,d3plusCommon,d3plusGeomap,d3plusHierarchy,d3plusLegend,d3plusNetwork,d3plusPlot,d3plusPriestley,d3plusShape,d3plusText,d3plusTimeline,d3plusTooltip,d3plusViz) { 'use strict';
var version = "2.0.0-alpha.17";
var version = "2.0.0-alpha.18";
exports.version = version;
exports.Axis = d3plusAxis.Axis;
exports.AxisBottom = d3plusAxis.AxisBottom;
exports.AxisLeft = d3plusAxis.AxisLeft;
exports.AxisRight = d3plusAxis.AxisRight;
exports.AxisTop = d3plusAxis.AxisTop;
exports.date = d3plusAxis.date;
exports.colorAdd = d3plusColor.colorAdd;
exports.colorAssign = d3plusColor.colorAssign;
exports.colorContrast = d3plusColor.colorContrast;
exports.colorDefaults = d3plusColor.colorDefaults;
exports.colorLegible = d3plusColor.colorLegible;
exports.colorLighter = d3plusColor.colorLighter;
exports.colorSubtract = d3plusColor.colorSubtract;
exports.accessor = d3plusCommon.accessor;
exports.assign = d3plusCommon.assign;
exports.attrize = d3plusCommon.attrize;
exports.BaseClass = d3plusCommon.BaseClass;
exports.closest = d3plusCommon.closest;
exports.configPrep = d3plusCommon.configPrep;
exports.constant = d3plusCommon.constant;
exports.elem = d3plusCommon.elem;
exports.isObject = d3plusCommon.isObject;
exports.merge = d3plusCommon.merge;
exports.parseSides = d3plusCommon.parseSides;
exports.prefix = d3plusCommon.prefix;
exports.stylize = d3plusCommon.stylize;
exports.uuid = d3plusCommon.uuid;
exports.Geomap = d3plusGeomap.Geomap;
exports.Donut = d3plusHierarchy.Donut;
exports.Pie = d3plusHierarchy.Pie;
exports.Tree = d3plusHierarchy.Tree;
exports.Treemap = d3plusHierarchy.Treemap;
exports.ckmeans = d3plusLegend.ckmeans;
exports.ColorScale = d3plusLegend.ColorScale;
exports.Legend = d3plusLegend.Legend;
exports.Network = d3plusNetwork.Network;
exports.Rings = d3plusNetwork.Rings;
exports.AreaPlot = d3plusPlot.AreaPlot;
exports.BarChart = d3plusPlot.BarChart;
exports.LinePlot = d3plusPlot.LinePlot;
exports.Plot = d3plusPlot.Plot;
exports.StackedArea = d3plusPlot.StackedArea;
exports.Priestley = d3plusPriestley.Priestley;
exports.Area = d3plusShape.Area;
exports.Bar = d3plusShape.Bar;
exports.Circle = d3plusShape.Circle;
exports.Image = d3plusShape.Image;
exports.Line = d3plusShape.Line;
exports.Path = d3plusShape.Path;
exports.largestRect = d3plusShape.largestRect;
exports.lineIntersection = d3plusShape.lineIntersection;
exports.path2polygon = d3plusShape.path2polygon;
exports.pointDistance = d3plusShape.pointDistance;
exports.pointDistanceSquared = d3plusShape.pointDistanceSquared;
exports.pointRotate = d3plusShape.pointRotate;
exports.polygonInside = d3plusShape.polygonInside;
exports.polygonRayCast = d3plusShape.polygonRayCast;
exports.polygonRotate = d3plusShape.polygonRotate;
exports.segmentBoxContains = d3plusShape.segmentBoxContains;
exports.segmentsIntersect = d3plusShape.segmentsIntersect;
exports.shapeEdgePoint = d3plusShape.shapeEdgePoint;
exports.simplify = d3plusShape.simplify;
exports.Rect = d3plusShape.Rect;
exports.Shape = d3plusShape.Shape;
exports.fontExists = d3plusText.fontExists;
exports.rtl = d3plusText.rtl;
exports.stringify = d3plusText.stringify;
exports.strip = d3plusText.strip;
exports.TextBox = d3plusText.TextBox;
exports.textSplit = d3plusText.textSplit;
exports.textWidth = d3plusText.textWidth;
exports.textWrap = d3plusText.textWrap;
exports.titleCase = d3plusText.titleCase;
exports.trim = d3plusText.trim;
exports.trimLeft = d3plusText.trimLeft;
exports.trimRight = d3plusText.trimRight;
exports.Timeline = d3plusTimeline.Timeline;
exports.Tooltip = d3plusTooltip.Tooltip;
exports.dataFold = d3plusViz.dataFold;
exports.dataLoad = d3plusViz.dataLoad;
exports.Viz = d3plusViz.Viz;
exports.Axis = d3plusAxis.Axis;
exports.AxisBottom = d3plusAxis.AxisBottom;
exports.AxisLeft = d3plusAxis.AxisLeft;
exports.AxisRight = d3plusAxis.AxisRight;
exports.AxisTop = d3plusAxis.AxisTop;
exports.date = d3plusAxis.date;
exports.colorAdd = d3plusColor.colorAdd;
exports.colorAssign = d3plusColor.colorAssign;
exports.colorContrast = d3plusColor.colorContrast;
exports.colorDefaults = d3plusColor.colorDefaults;
exports.colorLegible = d3plusColor.colorLegible;
exports.colorLighter = d3plusColor.colorLighter;
exports.colorSubtract = d3plusColor.colorSubtract;
exports.accessor = d3plusCommon.accessor;
exports.assign = d3plusCommon.assign;
exports.attrize = d3plusCommon.attrize;
exports.BaseClass = d3plusCommon.BaseClass;
exports.closest = d3plusCommon.closest;
exports.configPrep = d3plusCommon.configPrep;
exports.constant = d3plusCommon.constant;
exports.elem = d3plusCommon.elem;
exports.isObject = d3plusCommon.isObject;
exports.merge = d3plusCommon.merge;
exports.parseSides = d3plusCommon.parseSides;
exports.prefix = d3plusCommon.prefix;
exports.stylize = d3plusCommon.stylize;
exports.uuid = d3plusCommon.uuid;
exports.Geomap = d3plusGeomap.Geomap;
exports.Donut = d3plusHierarchy.Donut;
exports.Pack = d3plusHierarchy.Pack;
exports.Pie = d3plusHierarchy.Pie;
exports.Tree = d3plusHierarchy.Tree;
exports.Treemap = d3plusHierarchy.Treemap;
exports.ckmeans = d3plusLegend.ckmeans;
exports.ColorScale = d3plusLegend.ColorScale;
exports.Legend = d3plusLegend.Legend;
exports.Network = d3plusNetwork.Network;
exports.Rings = d3plusNetwork.Rings;
exports.Sankey = d3plusNetwork.Sankey;
exports.AreaPlot = d3plusPlot.AreaPlot;
exports.BarChart = d3plusPlot.BarChart;
exports.LinePlot = d3plusPlot.LinePlot;
exports.Plot = d3plusPlot.Plot;
exports.StackedArea = d3plusPlot.StackedArea;
exports.Priestley = d3plusPriestley.Priestley;
exports.Area = d3plusShape.Area;
exports.Bar = d3plusShape.Bar;
exports.Box = d3plusShape.Box;
exports.Circle = d3plusShape.Circle;
exports.Image = d3plusShape.Image;
exports.Line = d3plusShape.Line;
exports.Path = d3plusShape.Path;
exports.largestRect = d3plusShape.largestRect;
exports.lineIntersection = d3plusShape.lineIntersection;
exports.path2polygon = d3plusShape.path2polygon;
exports.pointDistance = d3plusShape.pointDistance;
exports.pointDistanceSquared = d3plusShape.pointDistanceSquared;
exports.pointRotate = d3plusShape.pointRotate;
exports.polygonInside = d3plusShape.polygonInside;
exports.polygonRayCast = d3plusShape.polygonRayCast;
exports.polygonRotate = d3plusShape.polygonRotate;
exports.segmentBoxContains = d3plusShape.segmentBoxContains;
exports.segmentsIntersect = d3plusShape.segmentsIntersect;
exports.shapeEdgePoint = d3plusShape.shapeEdgePoint;
exports.simplify = d3plusShape.simplify;
exports.Rect = d3plusShape.Rect;
exports.Shape = d3plusShape.Shape;
exports.Whisker = d3plusShape.Whisker;
exports.fontExists = d3plusText.fontExists;
exports.rtl = d3plusText.rtl;
exports.stringify = d3plusText.stringify;
exports.strip = d3plusText.strip;
exports.TextBox = d3plusText.TextBox;
exports.textSplit = d3plusText.textSplit;
exports.textWidth = d3plusText.textWidth;
exports.textWrap = d3plusText.textWrap;
exports.titleCase = d3plusText.titleCase;
exports.trim = d3plusText.trim;
exports.trimLeft = d3plusText.trimLeft;
exports.trimRight = d3plusText.trimRight;
exports.Timeline = d3plusTimeline.Timeline;
exports.Tooltip = d3plusTooltip.Tooltip;
exports.dataFold = d3plusViz.dataFold;
exports.dataLoad = d3plusViz.dataLoad;
exports.Viz = d3plusViz.Viz;
exports.version = version;
Object.defineProperty(exports, '__esModule', { value: true });
Object.defineProperty(exports, '__esModule', { value: true });
})));
//# sourceMappingURL=d3plus.js.map
/*
d3plus v2.0.0-alpha.17
d3plus v2.0.0-alpha.18
Data visualization made easy. A javascript library that extends the popular D3.js to enable fast and beautiful visualizations.
Copyright (c) 2018 D3plus - https://d3plus.org
Copyright (c) 2019 D3plus - https://d3plus.org
@license MIT
*/
if(typeof Object.assign!=="function"){Object.defineProperty(Object,"assign",{value:function e(t){"use strict";if(t===null){throw new TypeError("Cannot convert undefined or null to object")}var r=Object(t);for(var o=1;o<arguments.length;o++){var i=arguments[o];if(i!==null){for(var s in i){if(Object.prototype.hasOwnProperty.call(i,s)){r[s]=i[s]}}}}return r},writable:true,configurable:true})}if(!Array.prototype.includes){Object.defineProperty(Array.prototype,"includes",{value:function e(t,r){var o=Object(this);var i=o.length>>>0;if(i===0)return false;var s=r|0;var l=Math.max(s>=0?s:i-Math.abs(s),0);function a(e,t){return e===t||typeof e==="number"&&typeof t==="number"&&isNaN(e)&&isNaN(t)}while(l<i){if(a(o[l],t)){return true}l++}return false}})}(function(e,t){typeof exports==="object"&&typeof module!=="undefined"?t(exports,require("d3plus-axis"),require("d3plus-color"),require("d3plus-common"),require("d3plus-geomap"),require("d3plus-hierarchy"),require("d3plus-legend"),require("d3plus-network"),require("d3plus-plot"),require("d3plus-priestley"),require("d3plus-shape"),require("d3plus-text"),require("d3plus-timeline"),require("d3plus-tooltip"),require("d3plus-viz")):typeof define==="function"&&define.amd?define("d3plus",["exports","d3plus-axis","d3plus-color","d3plus-common","d3plus-geomap","d3plus-hierarchy","d3plus-legend","d3plus-network","d3plus-plot","d3plus-priestley","d3plus-shape","d3plus-text","d3plus-timeline","d3plus-tooltip","d3plus-viz"],t):t(e.d3plus={},e.d3plusAxis,e.d3plusColor,e.d3plusCommon,e.d3plusGeomap,e.d3plusHierarchy,e.d3plusLegend,e.d3plusNetwork,e.d3plusPlot,e.d3plusPriestley,e.d3plusShape,e.d3plusText,e.d3plusTimeline,e.d3plusTooltip,e.d3plusViz)})(this,function(e,t,r,o,i,s,l,a,n,p,u,d,c,g,f){"use strict";var m="2.0.0-alpha.17";e.version=m;e.Axis=t.Axis;e.AxisBottom=t.AxisBottom;e.AxisLeft=t.AxisLeft;e.AxisRight=t.AxisRight;e.AxisTop=t.AxisTop;e.date=t.date;e.colorAdd=r.colorAdd;e.colorAssign=r.colorAssign;e.colorContrast=r.colorContrast;e.colorDefaults=r.colorDefaults;e.colorLegible=r.colorLegible;e.colorLighter=r.colorLighter;e.colorSubtract=r.colorSubtract;e.accessor=o.accessor;e.assign=o.assign;e.attrize=o.attrize;e.BaseClass=o.BaseClass;e.closest=o.closest;e.configPrep=o.configPrep;e.constant=o.constant;e.elem=o.elem;e.isObject=o.isObject;e.merge=o.merge;e.parseSides=o.parseSides;e.prefix=o.prefix;e.stylize=o.stylize;e.uuid=o.uuid;e.Geomap=i.Geomap;e.Donut=s.Donut;e.Pie=s.Pie;e.Tree=s.Tree;e.Treemap=s.Treemap;e.ckmeans=l.ckmeans;e.ColorScale=l.ColorScale;e.Legend=l.Legend;e.Network=a.Network;e.Rings=a.Rings;e.AreaPlot=n.AreaPlot;e.BarChart=n.BarChart;e.LinePlot=n.LinePlot;e.Plot=n.Plot;e.StackedArea=n.StackedArea;e.Priestley=p.Priestley;e.Area=u.Area;e.Bar=u.Bar;e.Circle=u.Circle;e.Image=u.Image;e.Line=u.Line;e.Path=u.Path;e.largestRect=u.largestRect;e.lineIntersection=u.lineIntersection;e.path2polygon=u.path2polygon;e.pointDistance=u.pointDistance;e.pointDistanceSquared=u.pointDistanceSquared;e.pointRotate=u.pointRotate;e.polygonInside=u.polygonInside;e.polygonRayCast=u.polygonRayCast;e.polygonRotate=u.polygonRotate;e.segmentBoxContains=u.segmentBoxContains;e.segmentsIntersect=u.segmentsIntersect;e.shapeEdgePoint=u.shapeEdgePoint;e.simplify=u.simplify;e.Rect=u.Rect;e.Shape=u.Shape;e.fontExists=d.fontExists;e.rtl=d.rtl;e.stringify=d.stringify;e.strip=d.strip;e.TextBox=d.TextBox;e.textSplit=d.textSplit;e.textWidth=d.textWidth;e.textWrap=d.textWrap;e.titleCase=d.titleCase;e.trim=d.trim;e.trimLeft=d.trimLeft;e.trimRight=d.trimRight;e.Timeline=c.Timeline;e.Tooltip=g.Tooltip;e.dataFold=f.dataFold;e.dataLoad=f.dataLoad;e.Viz=f.Viz;Object.defineProperty(e,"__esModule",{value:true})});
if(typeof Object.assign!=="function"){Object.defineProperty(Object,"assign",{value:function e(t){"use strict";if(t===null){throw new TypeError("Cannot convert undefined or null to object")}var r=Object(t);for(var i=1;i<arguments.length;i++){var o=arguments[i];if(o!==null){for(var n in o){if(Object.prototype.hasOwnProperty.call(o,n)){r[n]=o[n]}}}}return r},writable:true,configurable:true})}if(!Array.prototype.includes){Object.defineProperty(Array.prototype,"includes",{value:function e(t,r){var i=Object(this);var o=i.length>>>0;if(o===0)return false;var n=r|0;var s=Math.max(n>=0?n:o-Math.abs(n),0);function l(e,t){return e===t||typeof e==="number"&&typeof t==="number"&&isNaN(e)&&isNaN(t)}while(s<o){if(l(i[s],t)){return true}s++}return false}})}if(!String.prototype.includes){Object.defineProperty(String.prototype,"includes",{value:function(e,t){if(typeof t!=="number"){t=0}if(t+e.length>this.length){return false}else{return this.indexOf(e,t)!==-1}}})}if(!Array.prototype.find){Object.defineProperty(Array.prototype,"find",{value:function(e){if(this==null){throw new TypeError('"this" is null or not defined')}var t=Object(this);var r=t.length>>>0;if(typeof e!=="function"){throw new TypeError("predicate must be a function")}var i=arguments[1];var o=0;while(o<r){var n=t[o];if(e.call(i,n,o,t)){return n}o++}return undefined},configurable:true,writable:true})}if(!String.prototype.startsWith){Object.defineProperty(String.prototype,"startsWith",{value:function(e,t){t=!t||t<0?0:+t;return this.substring(t,t+e.length)===e}})}if(typeof window!=="undefined"){(function(){var i=function(e,t){var r=e.nodeType;if(r===3){t.push(e.textContent.replace(/&/,"&amp;").replace(/</,"&lt;").replace(">","&gt;"))}else if(r===1){t.push("<",e.tagName);if(e.hasAttributes()){[].forEach.call(e.attributes,function(e){t.push(" ",e.item.name,"='",e.item.value,"'")})}if(e.hasChildNodes()){t.push(">");[].forEach.call(e.childNodes,function(e){i(e,t)});t.push("</",e.tagName,">")}else{t.push("/>")}}else if(r==8){t.push("\x3c!--",e.nodeValue,"--\x3e")}};Object.defineProperty(SVGElement.prototype,"innerHTML",{get:function(){var e=[];var t=this.firstChild;while(t){i(t,e);t=t.nextSibling}return e.join("")},set:function(e){while(this.firstChild){this.removeChild(this.firstChild)}try{var t=new DOMParser;t.async=false;var r="<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'>"+e+"</svg>";var i=t.parseFromString(r,"text/xml").documentElement;var o=i.firstChild;while(o){this.appendChild(this.ownerDocument.importNode(o,true));o=o.nextSibling}}catch(e){}}});Object.defineProperty(SVGElement.prototype,"innerSVG",{get:function(){return this.innerHTML},set:function(e){this.innerHTML=e}})})()}(function(e,t){typeof exports==="object"&&typeof module!=="undefined"?t(exports,require("d3plus-axis"),require("d3plus-color"),require("d3plus-common"),require("d3plus-geomap"),require("d3plus-hierarchy"),require("d3plus-legend"),require("d3plus-network"),require("d3plus-plot"),require("d3plus-priestley"),require("d3plus-shape"),require("d3plus-text"),require("d3plus-timeline"),require("d3plus-tooltip"),require("d3plus-viz")):typeof define==="function"&&define.amd?define("d3plus",["exports","d3plus-axis","d3plus-color","d3plus-common","d3plus-geomap","d3plus-hierarchy","d3plus-legend","d3plus-network","d3plus-plot","d3plus-priestley","d3plus-shape","d3plus-text","d3plus-timeline","d3plus-tooltip","d3plus-viz"],t):t(e.d3plus={},e.d3plusAxis,e.d3plusColor,e.d3plusCommon,e.d3plusGeomap,e.d3plusHierarchy,e.d3plusLegend,e.d3plusNetwork,e.d3plusPlot,e.d3plusPriestley,e.d3plusShape,e.d3plusText,e.d3plusTimeline,e.d3plusTooltip,e.d3plusViz)})(this,function(e,t,r,i,o,n,s,l,a,p,u,d,c,f,h){"use strict";var g="2.0.0-alpha.18";e.Axis=t.Axis;e.AxisBottom=t.AxisBottom;e.AxisLeft=t.AxisLeft;e.AxisRight=t.AxisRight;e.AxisTop=t.AxisTop;e.date=t.date;e.colorAdd=r.colorAdd;e.colorAssign=r.colorAssign;e.colorContrast=r.colorContrast;e.colorDefaults=r.colorDefaults;e.colorLegible=r.colorLegible;e.colorLighter=r.colorLighter;e.colorSubtract=r.colorSubtract;e.accessor=i.accessor;e.assign=i.assign;e.attrize=i.attrize;e.BaseClass=i.BaseClass;e.closest=i.closest;e.configPrep=i.configPrep;e.constant=i.constant;e.elem=i.elem;e.isObject=i.isObject;e.merge=i.merge;e.parseSides=i.parseSides;e.prefix=i.prefix;e.stylize=i.stylize;e.uuid=i.uuid;e.Geomap=o.Geomap;e.Donut=n.Donut;e.Pack=n.Pack;e.Pie=n.Pie;e.Tree=n.Tree;e.Treemap=n.Treemap;e.ckmeans=s.ckmeans;e.ColorScale=s.ColorScale;e.Legend=s.Legend;e.Network=l.Network;e.Rings=l.Rings;e.Sankey=l.Sankey;e.AreaPlot=a.AreaPlot;e.BarChart=a.BarChart;e.LinePlot=a.LinePlot;e.Plot=a.Plot;e.StackedArea=a.StackedArea;e.Priestley=p.Priestley;e.Area=u.Area;e.Bar=u.Bar;e.Box=u.Box;e.Circle=u.Circle;e.Image=u.Image;e.Line=u.Line;e.Path=u.Path;e.largestRect=u.largestRect;e.lineIntersection=u.lineIntersection;e.path2polygon=u.path2polygon;e.pointDistance=u.pointDistance;e.pointDistanceSquared=u.pointDistanceSquared;e.pointRotate=u.pointRotate;e.polygonInside=u.polygonInside;e.polygonRayCast=u.polygonRayCast;e.polygonRotate=u.polygonRotate;e.segmentBoxContains=u.segmentBoxContains;e.segmentsIntersect=u.segmentsIntersect;e.shapeEdgePoint=u.shapeEdgePoint;e.simplify=u.simplify;e.Rect=u.Rect;e.Shape=u.Shape;e.Whisker=u.Whisker;e.fontExists=d.fontExists;e.rtl=d.rtl;e.stringify=d.stringify;e.strip=d.strip;e.TextBox=d.TextBox;e.textSplit=d.textSplit;e.textWidth=d.textWidth;e.textWrap=d.textWrap;e.titleCase=d.titleCase;e.trim=d.trim;e.trimLeft=d.trimLeft;e.trimRight=d.trimRight;e.Timeline=c.Timeline;e.Tooltip=f.Tooltip;e.dataFold=h.dataFold;e.dataLoad=h.dataLoad;e.Viz=h.Viz;e.version=g;Object.defineProperty(e,"__esModule",{value:true})});
{
"name": "d3plus",
"version": "2.0.0-alpha.17",
"version": "2.0.0-alpha.18",
"description": "Data visualization made easy. A javascript library that extends the popular D3.js to enable fast and beautiful visualizations.",

@@ -26,16 +26,16 @@ "main": "build/d3plus.js",

"dependencies": {
"d3plus-axis": "^0.3.46",
"d3plus-color": "^0.6.2",
"d3plus-common": "^0.6.36",
"d3plus-geomap": "^0.5.3",
"d3plus-hierarchy": "^0.6.1",
"d3plus-legend": "^0.8.17",
"d3plus-network": "^0.3.0",
"d3plus-plot": "^0.7.8",
"d3plus-priestley": "^0.2.0",
"d3plus-shape": "^0.14.6",
"d3plus-text": "^0.9.28",
"d3plus-timeline": "^0.3.8",
"d3plus-tooltip": "^0.3.0",
"d3plus-viz": "^0.11.10"
"d3plus-axis": "^0.3.53",
"d3plus-color": "^0.6.4",
"d3plus-common": "^0.6.45",
"d3plus-geomap": "^0.6.2",
"d3plus-hierarchy": "^0.8.1",
"d3plus-legend": "^0.8.19",
"d3plus-network": "^0.5.2",
"d3plus-plot": "^0.8.6",
"d3plus-priestley": "^0.3.1",
"d3plus-shape": "^0.16.2",
"d3plus-text": "^0.9.40",
"d3plus-timeline": "^0.4.9",
"d3plus-tooltip": "^0.3.3",
"d3plus-viz": "^0.12.10"
},

@@ -57,3 +57,3 @@ "bin": {

"devDependencies": {
"d3plus-dev": "^0.4.22",
"d3plus-dev": "^0.6.18",
"json2module": "0.0.3"

@@ -68,3 +68,4 @@ },

"es"
]
],
"sideEffects": false
}

@@ -20,3 +20,3 @@ # D3plus

```html
<script src="https://d3plus.org/js/d3plus.v2.0.0-alpha.16.full.min.js"></script>
<script src="https://d3plus.org/js/d3plus.v2.0.0-alpha.17.full.min.js"></script>
```

@@ -23,0 +23,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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