mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 11:32:13 +01:00
Enhance session handling and improve data parsing; add safe date parsing utility
This commit is contained in:
@ -53,7 +53,7 @@ export default function WordCloud({
|
||||
)
|
||||
.padding(5)
|
||||
.rotate(() => (~~(Math.random() * 6) - 3) * 15) // Rotate between -45 and 45 degrees
|
||||
.fontSize((d) => (d as any).size)
|
||||
.fontSize((d: CloudWord) => d.size)
|
||||
.on("end", draw);
|
||||
|
||||
layout.start();
|
||||
|
||||
Reference in New Issue
Block a user