Visualisations for popular dynamic programming problems using D3