Authors Julien MARTIN-PRIN (@Flexiboy)
This project is solely reserved to the use of the Author, and Abdallah Benmansour and Loris Dalleau for creating content for Bourseko. Any other use is prohibited
This requirement installation is only working for UNIX like computer (Mac), you will have to install dependencies on your own if you run Windows
In order to run the program, you will need to install the following on your machine:
- python3
- tkinter
- sjvisualizer
- pyqt5
For Mac and UNIX user, you can execute the script requirements.sh using the commands below:
sudo chmod +x requirements.sh
./requirements.sh
CLI for this program is temporarily unavailable This program allows you to run it through CLI. You can choose between 2 modes, either --generate that allows you to generate a new visualization, or --set that allows you to modify the settings (you can also do it manually by modifying values in the src/helpers/settings.json JSON file). Here is a short description of all the arguments available and their short description:
- To generate a visualization:
-for--file_name(required): path to the excel file-tor--title(required): title for the visualization-stor--sub_title(optional): the sub title for the visualization-dor--duration(optional, default to 0.25): the duration of the visualization--bar(optional, default to False if not specified): to have a bar chart visualization--pie(optional, default to False if not specified): to have a pie chart visualization--line(optional, default to False if not specified): to have a line chart visualization--area(optional, default to False if not specified): to have a area chart visualization
Please note one of
--bar,--pie,--lineor--areais required
Example of use:
> python3 -m chart_o_maker.app --generate --line --file_name "../sample_datasets/LVMHvsHermes.xlsx" --title "LVMH vs Hermes"
- To change settings:
--logo(optional): used to change path to logo--sjvisualizer_logo(optional): used to hide/unhide (True is shown) "made with sjvisualizer" logo--record(optional): used to enable/disable (True is enabled) auto-record functionnality--video_format(optional): used to change video format to portrait or landscape--resolution(optional): used to change video resolution (e.g. 480p, 720p, 1080p)--output_file_name(optional): used to change the name of the output file in case auto-record is enabled
Please note at least one argument is needed to change the settings
Example of use:
> python3 chart_o_maker.app --set --logo "path_to_logo.jpg" --sjvisualizer_logo False --record True --video_format "landscape" --resolution "720p" --output_file_name "new_video.mp4"
A new graphics interface has been added to the app. You can have an overview of the GUI (Graphics User Interface) below:
To invoke the CLI, just type the following command from src/ folder:
> python3 -m chart_o_maker.app
Please note that, while some settings appear on the GUI, those are not mapped onto sjvisualizer. This will come on future version
https://github.com/Flexiboy/ChartOMaker/blob/main/Images/LineChartExample.mp4
Line Chart example (comparing LVMH and Hermes share price from 2014 to 2024)
More functionnalities will be brought to this app in the future, stay tuned
