Simple Live Chart Project

This is a simple project that displays live chart data using Chart.js library. The data is fetched from a PHP script, which generates the data, and is then passed to the JavaScript file to create the charts. The charts are updated automatically without the need to refresh the browser.

Requirements

  • A web server with PHP and JSON enabled
  • Chart.js library

How to run the project

  1. Clone or download the repository
  2. Copy the project files to your web server
  3. Open the project in your browser

What the project contains

  • index.html: The main HTML file that contains the user interface and the chart containers.
  • script.js: The JavaScript file that creates the charts and updates the data.
  • data.php: The PHP script that generates the data.
  • style.css: The stylesheet for the project.

Contributions

Feel free to contribute to this project by submitting pull requests or reporting bugs.