d3 v7.9.0 – d3.pointer() uses createSVGPoint() which is now deprecated
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 25/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- d3, javascript
- Domain
- frontend
Research direction
Start by locating d3.pointer() in the d3-selection source and checking how it currently uses createSVGPoint(). Review the linked pull request #322 for work already underway and compare its approach with the issue’s suggestion to use DOMPoint or DOMPointReadOnly. Done means the pointer calculation no longer depends on the deprecated API and the relevant tests pass.
Written by the indexing model from the issue text.
Description
The function createSVGPoint() is deprecated according to https://developer.mozilla.org/en-US/docs/Web/API/SVGPoint.
It doesn't throw any errors but it may be best to refactor d3.pointer to use DOMPoint or DOMPointReadOnly for future browser support.
- Dominant language
- JavaScript
- Stars
- 571
- Forks
- 283
- Avg merge
- 7h
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from d3/d3-selection
-
Difficulty 3/5 1-2 days Newbie friendliness 56/100
d3/d3-selection#324 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
d3/d3-selection#323 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
d3/d3-selection#319 · 1 comment ·
-
selection.appendAllOpenenhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
d3/d3-selection#301 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
d3/d3-selection#292 · 2 comments ·
Similar issues
-
maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
assistant-ui/assistant-ui#10496 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
ai bug design good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
neomjs/neo-agent-institution#927 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gramps-project/gramps-web#1671 ·
Maintainers usually reply within 1 day
-
bug good first issue priority: P2 status: ready
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RhinoLink-Tech/data-fabric#502 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
cline/mcp-marketplace#3708 ·