diff --git a/svg.h b/svg.h
new file mode 100644
index 0000000..011c9f3
--- /dev/null
+++ b/svg.h
@@ -0,0 +1,13 @@
+#ifndef SVG_H_INCLUDED
+#define SVG_H_INCLUDED
+
+#include <iostream>
+#include <vector>
+#include <string>
+
+void svg_begin(double width, double height);
+void svg_end();
+void svg_text(double left, double baseline, const std::string& text);
+void svg_rect(double x, double y, double width, double height, const std::string& stroke = "black", const std::string& fill = "black");
+void show_histogram_svg(const std::vector<size_t>& bins);
+#endif // SVG_H_INCLUDED