Skip to content

πŸ“Š Software for calculating and displaying a histogram by reading data from a text file πŸ“ˆ

License

Notifications You must be signed in to change notification settings

BrianSuarezSantiago/Histogram-Graphical-Representation-by-Reading-Files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Java

πŸ“Š Histogram Graphical Representation Reading Files πŸ“‰

Histogram Graphical Representation by Reading Files Execution Β· Execution of Histogram Graphical Representation by Reading Files Β·

πŸ“š Fundamentals

The software available in this repository allows the graphical display of a histogram showing the frequency of use of the principal e-mail domains most used in the world, reading the set of e-mail addresses from a text file.

πŸ‘¨πŸ»β€πŸ’» Implementation

The development of this practice consists of the creation of a histogram where the percentage of existing users for a given e-mail provider is represented using a bar chart diagram. The software consists of two versions where the Java libraries JFreeChart and JCommon are used for the graphical representation of the histogram.

1️⃣ First version:

The first version of this software introduces the creation of the main window of the application, and its design elements, such as the title, name of the axes, and dimensions, as well as the creation of the corresponding bar chart which will be arranged in that frame.

Similarly, we proceed to the creation of the dataset that will be used as a basis to create the histogram and which represents the e-mail domains. Likewise is checked that the e-mail addresses are correct in order to obtain the domain and calculate the frequency. The development of the project is based on the MVC (Model-View-Controller) pattern.

Kata 4. Version 1 Class Diagram

2️⃣ Second Version:

The second version of this software takes advantage of the implementation developed in the first version and introduces the class called Histogram, which provides the necessary public methods for the creation of a histogram as well as for obtaining information related to it. The development of the project is based on the CIPO (Context-Input-Process-Output) model.

Kata 4. VersiΓ³n 2 Class Diagram

πŸ’Ύ Expected Outputs

The results of running each of the implemented versions can be found here.

πŸš€ Build the project

  1. Clone the repository using git with git clone https://github.com/BrianSuarezSantiago/Histogram-Graphical-Representation-by-Reading-Files.git command or download from Source Code.

  2. Move to the directory where you have the code.

  3. Compile using javac -d . *.java command followed by the java histogram.Main command to run and use the available software.


Made with β™₯️ in Spain

About

πŸ“Š Software for calculating and displaying a histogram by reading data from a text file πŸ“ˆ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages