Students Save 30%! Learn & create with unlimited courses & creative assets Students Save 30%! Save Now
Lessons:18Length:2.6 hours

5.3 Formatting Numbers

While explanatory shapes and lines are an important part of visualizations, printing out actual data values is important as well. In these cases, you might want to be able to format numbers appropriately, and for this D3 offers the d3.format method. This method can be a bit tricky, so let’s check it out.