svelte app

Port existing Water Quality Map (https://www.aquatoolbox.com/scroll-wqmap.html) from its React component with D3 wrapped in a useEffect hook to Svelte.

Bottom-line at the top

Current Svelte REPL with semantic zooming: https://svelte.dev/repl/32e9d36a3da940c187b7f79fc1fbac38?version=3.48.0

WqMap_One

Just recreate the svg with a few Iris data points as circles and D3 x- and y-scales as reactive statements

  • no axes
  • no clip path
  • no 'invisible' rect
  • no zoom-and-pan
  • no semantic rescale()-ing

WqMap_Two

  • add axes -- à la Tom Février (a single axis component) or Matthais Stahl (one component for each axis)
  • no clip path
  • no 'invisible' rect
  • no zoom-and-pan
  • no semantic rescale()-ing

WqMap_Three

  • added axes -- à la Tom Février (a single axis component)
  • add clip path
  • add 'invisible' rect
  • no zoom-and-pan
  • no semantic rescale()-ing

WqMap_Four

  • added axes -- à la Tom Février (a single axis component)
  • added clip path
  • added 'invisible' rect
  • captured zoom transform
  • got semantic rescale()-ing

WqMap_Five

  • all of above, but better approach??
  • a

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes