From a073a1cb487a1c1bfbcbb49edc4175f931329bf3 Mon Sep 17 00:00:00 2001 From: Nick Santos <nickrsan@users.noreply.github.com> Date: Tue, 24 Nov 2020 21:32:54 -0800 Subject: [PATCH] Updated link to current D3 number formatting docs --- .../fundamentals/hover/2015-10-08-rounding-hover-values.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/plotly_js/fundamentals/hover/2015-10-08-rounding-hover-values.html b/_posts/plotly_js/fundamentals/hover/2015-10-08-rounding-hover-values.html index 3ed3b815c..14b852891 100644 --- a/_posts/plotly_js/fundamentals/hover/2015-10-08-rounding-hover-values.html +++ b/_posts/plotly_js/fundamentals/hover/2015-10-08-rounding-hover-values.html @@ -7,7 +7,7 @@ arrangement: horizontal --- // Round x and y hover values by setting hoverformat in layout.xaxis and/or layout.yaxis -// using D3 number formatting ( https://github.com/mbostock/d3/wiki/Formatting ) +// using D3 number formatting ( https://github.com/d3/d3-format/blob/master/README.md#locale_format ) var d3 = Plotly.d3, N = 40, @@ -28,4 +28,4 @@ yaxis:{zeroline:false, hoverformat: '.2r', title: 'Rounded: 2 significant values on hover'} }; -Plotly.newPlot('myDiv', data, layout); \ No newline at end of file +Plotly.newPlot('myDiv', data, layout);