A charting toolset written in Mercury