diff --git a/src/InfoViz/Native/HistogramSelector/index.js b/src/InfoViz/Native/HistogramSelector/index.js
index 2967527c67..f9baed7f19 100644
--- a/src/InfoViz/Native/HistogramSelector/index.js
+++ b/src/InfoViz/Native/HistogramSelector/index.js
@@ -326,11 +326,18 @@ function histogramSelector(publicAPI, model) {
if (model.provider.isA('LegendProvider') && model.singleModeName) {
const { color, shape } = model.provider.getLegend(model.singleModeName);
- d3.select(model.container).select(`.${style.jsHeaderSingleField}`)
- .html(``);
+ d3
+ .select(model.container)
+ .select(`.${style.jsHeaderSingleField}`)
+ .html(
+ ``
+ );
} else {
d3
.select(model.container)
@@ -647,8 +654,12 @@ function histogramSelector(publicAPI, model) {
const { color, shape } = model.provider.getLegend(def.name);
legendCell.html(``);
+ }' width='${legendSize}' height='${legendSize}' viewBox='${
+ shape.viewBox
+ }'
+ fill='${color}' stroke='black'>`);
} else {
legendCell.html('').select('i');
}