Random error when changing scales
See original GitHub issued3.js:5949 Error: <g> attribute transform: Trailing garbage, "translate(0,NaN)".
I keep getting this error randomly with d3 when I’m changing scales in my application.
Any idea what might cause it? Just to sum up:
- I’m only switching between linear and logarithmic scales.
- Data stays intact.
- Error shows randomly.
- All data points are positive.
- Can’t google solution to this error.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Random vs. Systematic Error | Definition & Examples - Scribbr
Random error affects your measurements in unpredictable ways: your measurements are equally likely to be higher or lower than the true values.
Read more >Random vs. Systematic Error Definitions and Examples
Random error causes one measurement to differ slightly from the next. It comes from unpredictable changes during an experiment. Systematic error ...
Read more >Systematic Error / Random Error: Definition and Examples
Scale factor errors increase (or decrease) the true value by a proportion or percentage. Random errors do not follow a pattern.
Read more >Random vs. Systematic Error - UMD Physics
Multiplier or scale factor error in which the instrument consistently reads changes in the quantity to be measured greater or less than the...
Read more >Errors and Uncertainty in Experimental Data - LPS
A random error makes the measured value both smaller and larger than the true value. Chance alone determines if it is smaller or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sounds like you’re trying to render a log scale with a domain that crosses (or includes) zero.
Also had this error while trying to convert a scatter plot with linear scale to a log scale. Thanks for clearing this up!