Asset allocation heat map
Turns holdings into a reproducible text treemap: one line per position as name,amount[,currency,rate], drawn with bars whose length follows the share, plus concentration notes. Rates come from your input.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Asset allocation treemap
Bar length is the share times the column count (minimum one block); you supply the rates and the output is reproducible.
Paste holdings (name,amount[,currency,rate] per line) to see the bars and shares
Categories: 0 · Total (CNY): 0 · Largest share (%): 0 · Currencies: 0
What this tool does
- See whether everything sits in one asset class (concentration risk).
- Convert foreign-currency holdings into one currency before comparing.
- Paste positions from your brokers and see the structure at a glance.
Example
Input
A股,600000 现金,50000
Output
Asset allocation heat map (text treemap, sorted by market value) Total value: CNY 650,000.00 Categories: 2 Currencies: 1 Bar width 40 cells = 100%, about 2.5% per cell ────────────────────────────────────────── █████████████████████████████████████ 92.31% A股 CNY 600,000.00 ███ 7.69% 现金 CNY 50,000.00 ────────────────────────────────────────── Breakdown: A股 (CNY): 600000 in the original currency × rate 1 = CNY 600,000.00, share 92.31% 现金 (CNY): 50000 in the original currency × rate 1 = CNY 50,000.00, share 7.69% Largest single holding: 92.31% (A股) Concentration: one category is over half the total — highly concentrated Note: bar length maps the share linearly with a minimum of one cell; you supply the exchange rates and the tool never fetches live rates.
Frequently asked questions
Are the exchange rates live?
No. Rates are the optional fourth column you supply; blank means 1. Nothing is fetched and the table is a reference, not investment advice.
How is the bar length decided?
Share times the bar width (40 columns by default), minimum one block, so each block is about 2.5%. The same input always yields the same output.
How much can I paste?
Up to 200 lines of four fields each (name, amount, currency, rate). A zero total reports zero-total.
Why is it reproducible?
Sorting is explicit (value descending by default, name ascending optional); there is no randomness and no clock.
Keywords:asset allocationtreemap