Back to Explore

d3/d3-array

GitHub
1 watchersOpen source

Last release:

d3-array is a JavaScript library focused on array manipulation. It provides utilities for ordering, searching, and summarizing data, with documentation and examples available on d3js.org.

Project status

  • Maintenance status: Evidence suggests the source is not actively releasing updates in the near term, with the most recent detailed d3-array update summaries dated 2023-05-30 (v3.2.4), while the last recorded upstream push was 2025-03-16. Overall, this looks quiet or maintenance-oriented rather than actively evolving as of 2026-10-02.
  • Apparent update cadence: The provided updates show releases spaced by months in early 2023 (v3.2.2 in 2023-01, v3.2.3 in 2023-03, v3.2.4 in 2023-05), followed by no further release details in the evidence through 2026, indicating a low cadence recently.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v3.2.4

    d3-array v3.2.4 changes how d3.medianIndex and d3.quantileIndex compute their return values when inputs contain missing values. The release notes mention fixing return values for missing data, but the code changes also adjust return values for empty inputs.

    Breaking
  • v3.2.3

    Release v3.2.3 primarily fixes threshold generation for degenerate inputs, such as empty arrays or data with zero deviation. The code updates the Freedman-Diaconis, Scott, and Sturges threshold implementations to avoid invalid math results and instead return a minimum threshold of 1.

  • v3.2.2

    Release v3.2.2 makes d3.ticks more resilient at producing tick values when the requested tick count is small. The main code change is in src/ticks.js, where the tick computation logic was refactored and augmented to retry with an adjusted count to ensure at least one tick for certain inputs.

    Features
  • v3.2.1

    d3-array v3.2.1 primarily fixes two correctness issues: mutation of user-supplied thresholds in d3.bin, and an infinite-loop scenario affecting d3.quantile and d3.quickselect when called with invalid arguments. The code changes also add additional defensive argument coercion and early-return behavior, particularly in quickselect.

  • v3.2.0

    Release v3.2.0 introduces new d3-array exports for blur operations (blur, blur2, blurImage) and index-returning quantile helpers (medianIndex, quantileIndex). The diff also includes non-release-note changes to publishing scripts and dependency versions used for build and linting.

    Features