Curran Kelleher
Curran Kelleher
And what is this format even called? Conventional written form? I'm hard-pressed to find any standard definition for this anywhere, aside from people reporting things they've seen in common use...
Haha we can call it "Excel Format", as Excel has this kind of formatting built-in. [](https://www.extendoffice.com/documents/excel/2228-excel-abbreviate-numbers.html) Interestingly, several games have faced this challenge and documented their solutions (images are links)....
This is a good one - [Language Matters: Millions, Billions and Other Large Numbers](https://www.druide.com/en/reports/millions-billions-and-other-large-numbers) >The most commonly seen short forms for thousand, million, billion and trillion in North America and...
From [The Economist Style Guide](http://cdn.static-economist.com/sites/default/files/pdfs/style_guide_12.pdf): > Use m for million, bn for billion and trn for trillion. The [AP Stylebook](https://coppelljournalism.files.wordpress.com/2011/11/ap-stylebook.pdf) has nothing in terms of abbreviations.
FWIW this is what I'm using now to solve this: ```js const siFormat = format('.3~s'); export const formatBigNumber = number => siFormat(number).replace('G', 'B').replace('k', 'K'); ```
This PR looks pretty close woohoo! https://github.com/d3/d3-format/pull/81
Since https://github.com/d3/d3-geo-projection/issues/195 was closed as a dupe of this, I thought I might add: This issue is also about including * US Virgin Islands * American Samoa * Guam, and...
Renamed the closed issue to [**Support All US Territories in Albers USA projection**](https://github.com/d3/d3-geo-projection/issues/195) to clarify.
@armsp I think you need to register a custom projection extension with Vega, using [vega.projection](https://vega.github.io/vega/docs/api/extensibility/#projection).
@almccon and I put together a [geo-albers-usa-territories package](https://www.npmjs.com/package/geo-albers-usa-territories). Feedback welcome!