sharmalab / eaglescope

Hierarchical and Cohort Visualization
BSD 3-Clause "New" or "Revised" License
10 stars 18 forks source link

GSoC22: Update Scatter Chart To Use Canvas #54

Closed yahia3200 closed 2 years ago

yahia3200 commented 2 years ago

The current implementation for the scatter chart uses SVG which can be very slow when the data gets big (you can start noticing this with datasets with thousands of points), so I changed the implementation to use the Canvas API which is very fast compared to the SVG

Performance Using SVG

before

Performance Using Canvas

after