Skip to content

Commit

Permalink
Voronoi with debug
Browse files Browse the repository at this point in the history
  • Loading branch information
artisticlight committed Oct 15, 2024
1 parent 5019137 commit 8417cbc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ export class TimeseriesChartComponent implements OnInit, OnDestroy {

// Compute the points in pixel space as [x, y, z], where z is the name of the series.
const points = unemployment.map((d) => [x(new Date(d.date)), y(d.unemployment), d.division]);
console.log('points', points);
console.log('unemployment', unemployment);

// An optional Voronoi display (for fun).
if (voronoi) this.svg.append("path")
Expand Down

0 comments on commit 8417cbc

Please sign in to comment.