fix(index.html): replace hash symbol with block character in graph - change the character used for bars from '#' to '█' for better visual representation
This commit is contained in:
+1
-1
@@ -188,7 +188,7 @@
|
|||||||
for (let row = graphHeight; row >= 1; row--) {
|
for (let row = graphHeight; row >= 1; row--) {
|
||||||
let line = '|';
|
let line = '|';
|
||||||
for (const bar of bars) {
|
for (const bar of bars) {
|
||||||
line += bar >= row ? '#' : ' ';
|
line += bar >= row ? '█' : ' ';
|
||||||
}
|
}
|
||||||
line += '|';
|
line += '|';
|
||||||
lines.push(line);
|
lines.push(line);
|
||||||
|
|||||||
Reference in New Issue
Block a user