Experiments >

Code animation: Scalable tick marks

Experiment #18312th May, 2021by Joshua Nussbaum

This is a remix of #123, I looked at using D3, but I rather role my own, so I can control the look better.

Code

https://svelte.dev/repl/7dbc43457fbb49e296a11cf90f300252?version=3.38.2

Demo

Notes

  • Scales should change, ie when zoomed out, major tick marks are seconds, when zoomed in, major tick marks are tenths of seconds
view all experiments

Stay tuned in

Learn how to add more experimentation to your workflow