{"version":"1.0","type":"rich","title":"d3js Exercice 1 - number formats","description":"This example demonstrates number formatting in D3.js by printing a series of values computed from 0.1 increments and a fixed variable, then applying various format specifiers such as '.1f' and '.2s' to show fixed-point and SI-prefix notation. It also defines a custom French locale with comma decimal separators and period thousands separators, then reapplies the format to illustrate localized output. The code uses the d3-format module’s `d3.format` and `d3.formatDefaultLocale` APIs, rendering results directly into the page’s HTML via `document.writeln`.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-f7e6a1741ce48f71c8abcb37ca388376?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}