How to Use:
Save the Code: Copy the code into a file named pie-chart-maker.html and open it in a web browser.
Enter Data and Labels:
In the Enter data field, input numerical values separated by commas (e.g., 25,50,25).
In the Enter labels field, input corresponding labels separated by commas (e.g., Apples,Oranges,Bananas).
Create/Update Chart: Click the Create/Update Chart button to render the pie chart with the given data and labels.
Dynamic Colours: Each chart segment will have a dynamically generated random colour to keep it visually appealing.
Responsive Design: The chart and form are fully responsive, adjusting to different screen sizes for a seamless user experience.