I want to format Y-axis data in D3 Line chart. It's about world population so that is quite large.
I am currently using below code, which is showing "G" instead of "B".
d3.format("s")
I researched and found that here "G" stands of Giga, is there a way to change it to B which denotes Billion?
Thanks.