#include #include #include int main() { using namespace matplot; std::vector votes = {35, 50, 30, 5, 80}; std::vector pies = {"Chocolate", "Apple", "Pecan", "Cherry", "Pumpkin"}; pareto(votes, pies, 1.0); ylabel("Votes"); show(); return 0; }