diff --git a/histogram.h b/histogram.h index 11954ba..b23987c 100644 --- a/histogram.h +++ b/histogram.h @@ -5,4 +5,7 @@ std::vector make_histogram(const std::vector& numbers, size_t bin_count); + +std::vector +make_borders(const std::vector& numbers, size_t bin_count); #endif // HISTOGRAM_H_INCLUDED diff --git a/svg.h b/svg.h new file mode 100644 index 0000000..4e8e921 --- /dev/null +++ b/svg.h @@ -0,0 +1,10 @@ +#ifndef SVG_H_INCLUDED +#define SVG_H_INCLUDED +#include +#include +#include + +void +show_histogram_svg(const std::vector& bins, const std::vector& borders, size_t bin_count); + +#endif // SVG_H_INCLUDED