Chart gallery¶
Every chart py-beacon draws, rendered from the sample dataset
(beacon.testing.dataset). The images are generated when the docs
are built, so they show what the current code draws. Each chart
starts as its image in the theme matching your light or dark
setting. Its toggles switch to the live version, where moving the
pointer over it shows the popup, and to the other themes: for pages
that are white, GitHub's dark, or let the page show through.
Charts explains how to draw them.
Results¶
Index level¶
The index level, rebased to 100, against an optional benchmark.
Weights¶
Constituent weights at a rebalance, with the weight cap marked.
Constituents¶
The index among its constituents, each rebased to 100.
Performance¶
Growth of 100, with a drawdown panel on the same dates.
Annual returns¶
Calendar-year returns, green for gains and red for losses.
Contributions¶
Each constituent's contribution to return, with the cap and cost drags in the notes.
Compare¶
Several results on one axis, rebased to 100 on the dates they share.
Exposures¶
Active weights against the target, coloured by sign.
Frontier¶
An efficient frontier, its minimum-variance and tangency points, and the capital market line.
Correlation¶
The correlation matrix as a heatmap, shaded from 0.2 to 1.0.
Chart classes¶
Line¶
One or more series over dates, the first in the accent colour, with a reference line, a marked period and the last value labelled.
Area¶
Parts of a whole stacked, here four holdings' shares.
Column¶
Values by category, upright, coloured by sign.
Bar¶
Values by category, across, with value labels and a cap.
Combo¶
Columns on the left axis and a line on the right, on one calendar.
Scatter¶
One measure against another, with a fitted line and its slope and fit.
Histogram¶
Counts in equal bins, with the normal curve and a marked VaR.
Heatmap¶
A table of values as colour, each value written in its cell.
Grid¶
Several charts under one heading: a tall chart beside two.
Table¶
A DataFrame as a table, with column groups, row groups and signed returns; live, its columns sort.