Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 1.11 KB

README.md

File metadata and controls

39 lines (34 loc) · 1.11 KB
somehow-graph
— part of somehow
WIP svelte infographics

Work in progress!

somehow-graph creates SVG, using your data, that you can throw-into your webpage.

<script>
  import spacetime from 'spacetime'
  import { Graph, XAxis, YAxis, Bar } from './src'
  let start = spacetime('2019').startOf('year')
  let end = start.endOf('year')
</script>

<Graph height={2800} aspect={'golden'}>
  <YAxis every="hundred" />
  <XAxis />
  <Bar />
</Graph>

MIT