The example below shows how to create a chart using data from HTML form.
Please enter the number of items of each category you sold this week. We will plot this data on a Pie chart.
To keep things simple, we are not validating the input - like checking for non-numeric data etc.
In your real-world applications, you can always put your own validators.
| Enter Sales Data | FusionCharts will load here | |
| Soups | bowls | |
| Salads | plates | |
| Sandwiches | pieces | |
| Beverages | cans | |
| Desserts | plates | |
The above sample showcases how to create chart using data from HTML Form. Click here to know more on how the code of this example works.