This project demonstrates how to generate interactive graphs using Google Charts, with a PHP backend and JavaScript frontend. It serves as a template for integrating Google Charts into web applications, supporting dynamic data visualization and modular code structure.
- Clone the repository:
git clone https://github.com/hkevin01/Google-charts-graphs-example.git
- Install dependencies:
- For JavaScript:
npm install(if package.json is present) - For Python:
python3 -m venv venv && source venv/bin/activate && pip install -r requirements.txt(if requirements.txt is present)
- For JavaScript:
- Run the PHP backend (
graph.php) on a local server (e.g., XAMPP, MAMP, or built-in PHP server). - Open the frontend (
graph.js) in your browser, ensuring it connects to the backend for data. - Customize the chart types and data sources as needed.
See CONTRIBUTING.md for details.
MIT License. See LICENSE for details.