Skip to content

Update d3 dependencies to latest versions in demo#1965

Merged
hshoff merged 1 commit intomasterfrom
hshoff-demo-d3
Nov 8, 2025
Merged

Update d3 dependencies to latest versions in demo#1965
hshoff merged 1 commit intomasterfrom
hshoff-demo-d3

Conversation

@hshoff
Copy link
Member

@hshoff hshoff commented Nov 8, 2025

🏠 Internal

  • demo: update d3 dependencies to latest versions

@hshoff hshoff requested a review from Copilot November 8, 2025 03:04
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates several D3.js library dependencies from version 1.x to version 3.x across the visx-demo package and its sandbox examples, bringing the project up to date with modern D3 versions.

  • Updated D3 libraries to major version 3.x (d3-hierarchy, d3-scale-chromatic, d3-shape)
  • Updated d3-collection to latest 1.x patch version (^1.0.7)
  • Consolidated yarn.lock entries to reflect the new dependency versions

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
yarn.lock Updated dependency resolution entries for d3-collection, d3-hierarchy, d3-scale-chromatic, and d3-shape; removed obsolete d3-color@1 and d3-interpolate@1 entries as all packages now use version 3.x
packages/visx-demo/package.json Updated D3 dependency versions: d3-collection (^1.0.7), d3-hierarchy (^3.1.2), d3-scale-chromatic (^3.1.0), d3-shape (^3.2.0), and corresponding types
packages/visx-demo/src/sandboxes/visx-zoom-i/package.json Updated d3-scale-chromatic from ^1.5.0 to ^3.1.0 to match parent package
packages/visx-demo/src/sandboxes/visx-linktypes/package.json Updated d3-shape from 1.3.7 to 3.2.0 to match parent package

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hshoff hshoff merged commit 781f2cf into master Nov 8, 2025
7 checks passed
@github-actions
Copy link

🎉 This PR is included in version v4.0.0-alpha.0 of the packages modified 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants