I suspect you are using version 1.*, if so then this is a known issue:
Switch from the
viewreset event to the
moveend event and you should be ok.
- How do I get the d3 svg points to stay in their correct position on the leaflet map when zooming?
- How to get the svg position within document?
- How do I get the width of an svg element using d3js?
- In d3, how to get the interpolated line data from a SVG line?
- How can I get the natural width and height of an svg image element?
- How do I get D3 Data Driven Document to display a moment.js datetime in the correct time zone?
- How to get web element (id) from the element position in D3.js force graph
- What is the fastest way to get SVG element given a position (x,y)?
- How to get SVG path data of TopoJSON feature without adding it to the DOM?
- How to get the width and height of an image? ( getBBox() size of SVG return 0 )
- Not all d3 points are showing in correct position on leaflet map
- How to get position of empty SVG group?
- How can I get the dom svg element from d3 node data?
- get the position details of a div inside an svg
- How to rearrange the DOM order of svg elements based on their data values in a dynamically changing d3 vis?
- How to get a circle position in a g element in SVG using D3.js
- How to get the x position of a bar on d3 paired bar graph for tooltip update
- How to get SVG child element position relative to SVG position on page, D3.js?
- SVG. What is the correct way to position an SVG tag in the DOM?
- How to get the position and width of a tspan element
- How to get points from a D3 SVG bezier curve with given step size?
- How can i get the new X and Y position after rotating?
- How to get the zoom level of an svg image using d3
- How to get the id of svg that was draw over other svg and delete it
- How do I structure data in php to get the correct json result?
- How to setup svg to change position when resizing the window?
- How do I change the position of a circle svg element using the transform attribute?
- How can i get the id of a polygon in an SVG file?
- D3.js: How to get the computed width and height for an arbitrary element?
- How to access the DOM element that correlates to a D3 SVG object?
More Query from same tag
- NVD3 not formatting dates correctly
- Unable to set max-width of SVG text
- Why my d3 line chart only has two ticks on x axis?
- How to access JSON data with D3.js?
- store and retrieve assigned index of svg elements
- D3 Multi-Series Line Chart with ZOOM
- filtering lines from a d3.layout.tree() if they link to nodes deeper than a certain value
- How can I make my upside-downed stacked graph right using d3.js?
- d3.js - updating data in choropleth based on new .csv?
- d3.js Radial gradient not apply to `path`
- How to prevent the last tick from rendering? Using 'recharts' library
- CSS basic Multipanel Graph layout D3.js
- Difficulty accessing json file with d3 and flask
- Separate the nodes and avoid overlapping in tree graph in d3.js
- Inhibit mouse interactions for certain svg child elements
- d3js cluster layout dendogram node links to custom depths
- Return D3 key of Selected
- d3.js Chart breaks after moving json data to external file
- D3.js - Zooming while keeping sizes, with d3.forceSimulation()
- Is d3.text faster than d3.json?
- Math.random() - set a range of minimum to maximum
- interpolate between dates given known index range
- Convert svg:image to grayscale on click using d3
- updating text position on pie chart update
- State of SVG Performance on iOS and other Tablets?
- Breaking D3 in separate HTML, JS and CSS files not working
- d3.js adding circle focus points to multi-line series
- How to rotate x-axis text in dimple.js?
- Load popup on hover data from json file for datamaps