Skip to content

Luca-Pozzi/pizza_chart

Repository files navigation

Pizza chart

Pie charts, with a salty twist.

Note

The purpose of this repository is to create a fun data visualization representing the preferred pizzas during pizza days at work. Data and the following summary stats refer to the pizza days at Polo Territoriale di Lecco, Politecnico di Milano.


Summary charts of pizza days at WE-COBOT in either dark or light mode adapting to selected color scheme

More stats are available on GitHub Pages.

How to use

Important

pizza_chart comes with built-in images included, which can be freely used for non-commercial purposes (see license). In using pizza_chart, the user can also use contents from any source, including third-party images. It is the user's responsibility to give proper attribution to the authors of said contents.

Add a pizza

Upload a picture

Take a top-view picture of your pizza, ensuring that it is entirely visible. Follow the tips in ASSETS.md to process it to the desired format, size and resolution.

Make a pizza with pizza_maker.ipynb

Add a topping

Get the picture of a topping by either:

  • cropping a pizza from the images in assets/pizza
  • getting ingredients images from third-party sources (Flaticon.com is a great place to look, if you are down with a cartoonish style).

Plot

Pizza charts can be plotted via the pizza_chart_example.ipynb notebook.

Report

Data collected during pizza days at Politecnico di Milano - Polo Territoriale di Lecco are available in data.xlsx Excel file. The pizza_report.py gathers data from the Excel file to generate summary charts regarding our pizza days. The updated summary is displayed at the top of this README. Individual charts are available in assets/charts.

License

This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).

You are free to share and adapt the material for non-commercial purposes, as long as you provide appropriate credit. You can attribute this project as

[Pizza chart](https://github.com/Luca-Pozzi/pizza_chart)

Author

About

Pie charts with a salty twist.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published