Skip to content

Commit 59fd965

Browse files
save
1 parent de3e99c commit 59fd965

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

docs/index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -624,8 +624,9 @@ <h1>FastAD Rating Formula Visualizer</h1>
624624
.append('rect')
625625
.attr('x', d => d.x * cellWidth)
626626
.attr('y', d => height - (d.y + 1) * cellHeight)
627-
.attr('width', cellWidth)
628-
.attr('height', cellHeight)
627+
.attr('width', cellWidth + 0.5)
628+
.attr('height', cellHeight + 0.5)
629+
.attr('shape-rendering', 'crispEdges')
629630
.style('stroke', 'none')
630631
.style('cursor', 'crosshair');
631632

@@ -634,8 +635,8 @@ <h1>FastAD Rating Formula Visualizer</h1>
634635
.duration(300)
635636
.attr('x', d => d.x * cellWidth)
636637
.attr('y', d => height - (d.y + 1) * cellHeight)
637-
.attr('width', cellWidth)
638-
.attr('height', cellHeight)
638+
.attr('width', cellWidth + 0.5)
639+
.attr('height', cellHeight + 0.5)
639640
.attr('fill', d => colorScale(d.delta));
640641

641642
// Update hover events

0 commit comments

Comments
 (0)