Alternatives in GNU Emacs

 

Exploring some alternative ideas in GNU Emacs.

Stock Heatmap

Index (left) and Sector (right) performance heatmap
 


The circle radius is proportional to the weight of the stock in the index. The color is a range between green, white and red based on the price movement. This uses circle packing.

;; For drawing tooltip, additional point attributes are required. Properties old-x and old-y are used internally.
;; fill    - Circle color
;; title  - Circle label (Use \n for new line)
;; href - Link
;; text  - Tooltip text (Use \n for new line)
(defstruct point x y r old-x old-y fill title href text)
 
;; Image is an SVG image.
(graph-draw-tree root image)
 


 

Comments

Popular posts from this blog

GNU Emacs as a Comic Book Reader

Data Visualization with GNU Emacs

Mozilla Readability in GNU Emacs