-
I don't know if this is a Firefox bug or a d3 bug or if I'm doing something wrong but I have a very blurry rendering for SVG path when I zoom, in Firefox (Chrome et Edge are working) : Demo (try to zoom to the max level on the red circle) : |
Beta Was this translation helpful? Give feedback.
Answered by
Fil
Dec 21, 2022
Replies: 1 comment 2 replies
-
Can you upgrade the test to a recent version of d3? Current version is 7.8. In script.js you'll need to change the code to: function zoomed({transform}) {
layer.attr("transform", transform);
}
var svg = d3.select("#app")
.append("svg")
.attr("width", 500)
.attr("height", 500)
.call(zoom)
var layer = svg.append("g").attr("transform", transform);
svg.call(zoom.transform, transform); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Fil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you upgrade the test to a recent version of d3? Current version is 7.8.
In script.js you'll need to change the code to: