This project is a web-based application that performs Benford's Law analysis on data and visualizes the results using the Google Charts library. Benford's Law is a statistical phenomenon that states that in many real-world datasets, the leading digits (1 to 9) occur with a specific distribution, and this distribution can be used to detect anomalies or fraud in data.
- Benford's Law analysis on input data
- Upload a json file or use built-in functions to generate data
- Display the results in an HTML table
- Visualization using Google's Combo Chart
- Customizable options for chart appearance and behavior
- HTML
- CSS
- JavaScript
- Google Charts library
- Clone or download the repository.
- Open
index.html
in a web browser. - Upload your data in JSON format (You can check the json format on the example data/example.json).
- Click the "Analyze" button.
- View the results in the HTML table and the Google's Combo Chart.
- Optionally customize the chart appearance and behavior using the available options.
- Enjoy exploring and visualizing Benford's Law phenomenon in your data!
If you don't have any data and you just want to explore this project:
- Open the file "js/main.js".
- Uncomment the function you want to use to generate the data (either getRandomData or getBenfordData), learn more about these functions on "js/benfordtestdata.js"
- Open
index.html
in a web browser. - Enjoy exploring!
Contributions to the project are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.