This repository contains a web-based graphing calculator implemented using HTML, JavaScript, and D3.js. The calculator allows users to plot various mathematical functions in real-time and visualize them on an interactive graph.
- Dynamic Plotting: Enter a function and see its graph instantly updated.
- Interactive Graph: Zoom and pan capabilities for detailed exploration.
- Function Support: Includes a range of mathematical functions for plotting such as trigonometric functions (
sin
,cos
,tan
), logarithmic functions (log
,log10
,log2
), square root (sqrt
), and more. - Easy to Use: Simple interface with real-time updates.
- HTML: Structure and layout of the calculator interface.
- JavaScript: Logic for parsing user input and plotting functions.
- D3.js: Data-driven documents library for creating dynamic and interactive graphs.
-
Clone the repository:
git clone https://github.com/Abhrankan-Chakrabarti/GraphingCalculator.git
-
Open
index.html
in your web browser to start using the graphing calculator. -
Enter a mathematical function into the input field and press Plot to visualize it on the graph. Ensure to use Math. prefix for trigonometric (Math.sin, Math.cos, Math.tan), logarithmic (Math.log, Math.log10, Math.log2), and other functions (e.g., Math.sqrt, Math.pow).
-
Explore the interactive graph with zoom and pan capabilities for detailed analysis.
Explore the live demo here!
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- graphing-calculator
- javascript
- html
- d3js
- math
- visualization
- interactive
- functions
- plotting
- web-app