SpinTheMic
Pro

Interview practice question

A data visualisation with thousands of points is slow

Frontend Engineering · Web Performance · Experienced

A chart rendering 50,000 data points as SVG elements makes the page sluggish. How would you improve it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Canvas or WebGL rendering.
  • Downsample/aggregate data.
  • Render in worker (OffscreenCanvas).
  • Virtualise interactions; throttle tooltips.
  • Accessible data table alternative.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics