Skip to content

HaveelaGadde/Data-Visualization-Using-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Accident Data Visualization in Java

This project visualizes accident-related data using Java and relevant libraries. It loads accident data from a CSV file (Sample_data.csv) and generates visual insights using charts/graphs for better understanding of patterns in the dataset.

πŸ“ Files Included

  • AccidentVisualizations.java – The main Java program for data visualization.
  • Sample_data.csv – Sample dataset containing accident-related information.
  • .gitattributes – Git LFS configuration file (optional, if large files are used).

πŸ“Š Features

  • Load CSV accident data.
  • Generate visual representations (e.g., pie chart, bar chart).
  • Parse and analyze accident statistics from structured data.

πŸ”§ Requirements

  • Java Development Kit (JDK 8 or later)
  • Java IDE or command-line tools (e.g., IntelliJ, Eclipse, or javac/java)
  • JFreeChart library (for chart visualizations)

πŸ“¦ Setup Instructions

  1. Clone the repository:

    git clone https://github.com/yourusername/AccidentDataVisualization.git
    cd AccidentDataVisualization
  2. Compile the Java file (ensure the required libraries like JFreeChart are in the classpath):

    javac -cp ".:path/to/jfreechart.jar:path/to/other/libs/*" AccidentVisualizations.java
  3. Run the application:

    java -cp ".:path/to/jfreechart.jar:path/to/other/libs/*" AccidentVisualizations
  4. View results – Visual charts will appear in new windows.

πŸ“ Notes

  • The sample dataset can be modified to include more real-world accident data.
  • Make sure to match column names and data types when using custom datasets.

πŸ“„ License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages