fixing console errors

This commit is contained in:
Beverly Nguyen
2024-08-07 15:47:33 -07:00
parent f65655e56c
commit c6f1ae37a4

View File

@@ -23,12 +23,6 @@
var width = chartContainer.clientWidth;
var height = 64;
// Ensure the width is set correctly
if (width === 0) {
console.error('Chart container width is 0, cannot set SVG width.');
return;
}
svg.attr("width", width).attr("height", height);
var x = d3.scaleLinear()