somehow-graph
somehow-graph copied to clipboard
Svelte infographics component

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