A webpage to collect with some values and and output a polar chart using chart.js
index.html styles.css
set index.html in the / directory of your web server
- start server.py
python3 server.py
- This starts a server on port 5000
- Navigate a browser to http://localhost:5000/
- Fill in form and choose generate visualisation button
- Create a folder and place the attached script & Users.xlsx file in the folder (download this Google Sheet here and rename Users.xlsx) - Or change line 48 if you don't want to rename.
- Open a terminal and cd to that folder
- And then run the below command
docker run -t -i -v ${PWD}:/tmp python bash
- Then install the below packages
pip install numpy plotly pandas openpyxl
- From inside the container, cd to /tmp location and run the command
python main.py
- This will generate an assessment-v2.html file inside the same directory, all the diagrams will be in a single html page labelled, scroll down. You only need to duplicate the tabs and keep the format for each of the people you want to perform an assessment of. Label each tab with the person's name as the script uses this as a label for the diagrams.
- To edit, change column B in Users.xlsx. Use a new tab for each person.
- Create a folder and place the attached script & Users.xlsx file in the folder (download this Google Sheet here and rename Users.xlsx) - Or change line 48 if you don't want to rename.
- Open a terminal and cd to that folder
- And then run the below command
python polar-area-chart-v2.py
- This will generate an Assessments.html file inside the same directory, all the diagrams will be in a single html page labelled, scroll down. You only need to duplicate the tabs and keep the format for each of the people you want to perform an assessment of. Label each tab with the person's name as the script uses this as a label for the diagrams.
- To edit, change column B in Users.xlsx. Use a new tab for each person.