diff --git a/index.html b/index.html
index e35a1c3c..0cd3b2e0 100644
--- a/index.html
+++ b/index.html
@@ -1587,7 +1587,7 @@
-
+
diff --git a/modules/burgs-and-states.js b/modules/burgs-and-states.js
index 865159aa..a9200868 100644
--- a/modules/burgs-and-states.js
+++ b/modules/burgs-and-states.js
@@ -595,7 +595,7 @@ window.BurgsAndStates = (function () {
g.select("#stateLabel" + id).remove();
}
- const path = p[1].length > 1 ? lineGen(p[1]) : `M${p[1][0][0] - 50},${p[1][0][1]}h${100}`;
+ const path = p[1].length > 1 ? round(lineGen(p[1])) : `M${p[1][0][0] - 50},${p[1][0][1]}h${100}`;
const textPath = t
.append("path")
.attr("d", path)
@@ -621,7 +621,7 @@ window.BurgsAndStates = (function () {
const spans = lines.map((l, d) => {
example.text(l);
const left = example.node().getBBox().width / -2; // x offset
- return `${l}`;
+ return `${l}`;
});
const el = g