somehow-year
— part of somehow
svelte infographics
by Spencer Kelly

work-in-progress

renders html year-viz using spacetime date library

demo:

npm i somehow-year

week-centered year from start to end dates, inclusive

<script>
  import { Year, Day } from './src'
</script>

<Year date="2020">
  <Day date="march 28th" color="blue" />
</Year>
<Year date="2021">
  <Day date="march 28th" color="blue" />
</Year>

Vertical

pass-in vertical={true}

API

  • <Year date="" vertical={false}/>
  • <Day date="" color=""/>

See also:

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes