Need assistance developing a PHP/MySQL based application integrating d3.js for visualizations. The enhancements include:
1. Provide an ability to edit an existing sales forecast such that the d3 chart draws a line based on target,min and max points provided in a MySQL column.
2. Add a "Delete" function that will remove the forecast record and all related Alert records.