Showing 207 of 537 total issues
Function dsv
has 87 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function dsv(delimiter) {
var reFormat = new RegExp("[\"" + delimiter + "\n]"),
delimiterCode = delimiter.charCodeAt(0);
function parse(text, f) {
Function formatLocale
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function formatLocale(locale) {
var group = locale.grouping && locale.thousands ? formatGroup(locale.grouping, locale.thousands) : identity$3,
currency = locale.currency,
decimal = locale.decimal;
Function chord
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function chord() {
var padAngle = 0,
sortGroups = null,
sortSubgroups = null,
sortChords = null;
Function manyBody
has 83 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function manyBody() {
var nodes,
node,
alpha,
strength = constant$6(-30),
Function link
has 83 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function link(links) {
var id = index$2,
strength = defaultStrength,
strengths,
distance = constant$6(30),
Function area$1
has 83 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function area$1() {
var x0 = x,
x1 = null,
y0 = constant$1(0),
y1 = y,
Function index$1
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function index$1() {
var tile = squarify,
round = false,
dx = 1,
dy = 1,
Function graticule
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function graticule() {
var x1, x0, X1, X0,
y1, y0, Y1, Y0,
dx = 10, dy = dx, DX = 90, DY = 360,
x, y, X, Y,
Function log
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function log() {
var scale = continuous(deinterpolate$1, reinterpolate).domain([1, 10]),
domain = scale.domain,
base = 10,
logs = logp(10),
Function resample$1
has 70 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function resample$1(project, delta2) {
function resampleLineTo(x0, y0, lambda0, a0, b0, c0, x1, y1, lambda1, a1, b1, c1, depth, stream) {
var dx = x1 - x0,
dy = y1 - y0,
Function clipCells
has 69 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function clipCells(x0, y0, x1, y1) {
var nCells = cells.length,
iCell,
cell,
site,
Function newFormat
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function newFormat(specifier) {
specifier = formatSpecifier(specifier);
var fill = specifier.fill,
align = specifier.align,
Function clipLine
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function clipLine(stream) {
var point0, // previous point
c0, // code for previous point
v0, // visibility of previous point
v00, // visibility of first point
Function insert
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
insert: function(after, node) {
var parent, grandpa, uncle;
if (after) {
node.P = after;
Function addBeach
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function addBeach(site) {
var x = site[0],
directrix = site[1],
lArc,
rArc,
Function collide
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function collide(radius) {
var nodes,
radii,
strength = 1,
iterations = 1;
Function chord
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function chord(matrix) {
var n = matrix.length,
groupSums = [],
groupIndex = range(n),
subgroupIndex = [],
Function band
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function band() {
var scale = ordinal().unknown(undefined),
domain = scale.domain,
ordinalRange = scale.range,
range$$ = [0, 1],
Function axis
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function axis(context) {
var values = tickValues == null ? (scale.ticks ? scale.ticks.apply(scale, tickArguments) : scale.domain()) : tickValues,
format = tickFormat == null ? (scale.tickFormat ? scale.tickFormat.apply(scale, tickArguments) : identity$5) : tickFormat,
spacing = Math.max(tickSizeInner, 0) + tickPadding,
transform = orient === top || orient === bottom ? translateX : translateY,
Function projectionMutator
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function projectionMutator(projectAt) {
var project,
k = 150, // scale
x = 480, y = 250, // translate
dx, dy, lambda = 0, phi = 0, // center